Cross-Platform C++

ot::io
class FileNotFoundException

#include "ot/io/FileNotFoundException.h"

ot::io::IOException ot::Exception Thrown when attempting to open a file that does not exist.




Constructor/Destructor Summary
FileNotFoundException(const String& message)
         Constructs an FileNotFoundException with a detail message.

Method Summary
 virtual String getExceptionType() const
         Returns the class name as a String.
 virtual String getLocalizedDescription() const
         Returns a localized description of the Exception type or, if a native language translation is unavailable, an empty string.

Methods inherited from class ot::Exception
getDescription, getMessage, setMessage, toString

Constructor/Destructor Detail

FileNotFoundException

 FileNotFoundException(const String& message)
Constructs an FileNotFoundException with a detail message.

Parameters:
message - the detail message

Method Detail

getExceptionType

virtual String getExceptionType() const
Returns the class name as a String. This method should be overridden in all derived classes to return the name of the derived class.

See also:
getDescription()

getLocalizedDescription

virtual String getLocalizedDescription() const
Returns a localized description of the Exception type or, if a native language translation is unavailable, an empty string. The base class implementation always returns an empty string.

See also:
getDescription()


Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright © 2000-2003 ElCel Technology   Trademark Acknowledgements