Cross-Platform C++

ot
class InterruptedException

#include "ot/base/InterruptedException.h"

ot::Exception Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it using Thread::interrupt().




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

Method Summary
 virtual String getExceptionType() const
         Returns the class name as a String.

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

Constructor/Destructor Detail

InterruptedException

 InterruptedException()
Constructs an InterruptedException without a detail message.


InterruptedException

 InterruptedException(const String& message)
Constructs an InterruptedException 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()


Cross-Platform C++

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

Copyright © 2000-2003 ElCel Technology   Trademark Acknowledgements