Cross-Platform C++

ot::io
class ExistingFileException

#include "ot/io/ExistingFileException.h"

ot::io::IOException ot::Exception Thrown when attempting to create a file exclusively and the file already exists.

See also:
File::createNewFile



Constructor/Destructor Summary
ExistingFileException(const String& 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

ExistingFileException

 ExistingFileException(const String& 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