Vault  4.1
Classes | Defines
vexception.h File Reference
#include "vstring.h"
#include "vlogger.h"
#include "vthread.h"

Go to the source code of this file.

Classes

class  VSystemError
 VSystemError captures the current system error code and the corresponding error message text. More...
class  VException
 VException is the base class for all exceptions thrown by the Vault. More...
class  VStackTraceException
 This simple helper class throws an exception with a stack trace included, without having to pass the boolean as you do with the base class. More...
class  VEOFException
 VEOFException is a VException that indicates that a stream reader has hit the end of the stream while reading. More...
class  VSocketClosedException
 VSocketClosedException is a VException that indicates that a read or write on a socket has failed because the socket has closed. More...
class  VRangeException
 VRangeException is a VException that indicates that a value is outside the valid range of data. More...
class  VUnimplementedException
 VUnimplementedException is a VException that indicates that a feature in the code is not yet implemented. More...

Defines

#define V_CHECKED_DYNAMIC_CAST(cast_to_type, an_object)   VcheckedDynamicCast<cast_to_type>((an_object), __FILE__, __LINE__, true, true, true)
 Performs a checked dynamic cast that will propagate any dynamic cast exception after first logging a stack crawl.
#define V_CHECKED_DYNAMIC_CAST_NOTHROW(cast_to_type, an_object)   VcheckedDynamicCast<cast_to_type>((an_object), __FILE__, __LINE__, false, true, true)
 Performs a checked dynamic cast that will, upon a dynamic cast exception, log a stack crawl, eat the exception, and return NULL instead.

Detailed Description

Definition in file vexception.h.


Copyright ©1997-2014 Trygve Isaacson. All rights reserved. This documentation was generated with Doxygen.