| FDO API Reference | Feature Data Objects |
#include <Exception.h>
Inherits FdoIDisposable.
Inherited by FdoClientServiceException, FdoCommandException, FdoConnectionException, FdoExpressionException, FdoFilterException, FdoSchemaException, FdoSpatialContextMismatchException, and FdoXmlException.
Inheritance diagram for FdoException:
Definition at line 40 of file Exception.h.
Public Member Functions | |
| virtual FDO_API_COMMON FdoException * | GetCause () |
| Gets a reference to the exception that caused this exception. | |
| virtual FDO_API_COMMON FdoString * | GetExceptionMessage () |
| Gets the message associated with this exception. If no message is associated with this exception but it has a cause, then this method returns the message specified for the cause exception. If no message and no cause are associated with this exception then a null reference is returned. | |
| virtual FDO_API_COMMON FdoException * | GetRootCause () |
| Gets a reference to the exception that is the root cause of this exception. | |
| virtual FDO_API_COMMON void | SetCause (FdoException *cause) |
| Sets the cause exception. | |
| virtual FDO_API_COMMON FdoString * | ToString () |
| Gets the message associated with this exception. If no message is associated with this exception but it has a cause, then this method returns the message specified for the cause exception. If no message and no cause are associated with this exception then a null reference is returned. | |
Static Public Member Functions | |
| FDO_API_COMMON FdoException * | Create (FdoString *message, FdoException *cause) |
| Returns an instance of a FdoException using the specified arguments. | |
| FDO_API_COMMON FdoException * | Create (FdoString *message) |
| Returns an instance of a FdoException using the specified arguments. | |
| FDO_API_COMMON FdoException * | Create () |
| Returns a default instance of a FdoException. | |
| FDO_API_COMMON FdoString * | NLSGetMessage (FdoInt32 msgNum, char *defMsg, char *catalog, va_list arguments) |
| Gets the exception message. For internal use by FdoException class in getting a localized message. | |
| FDO_API_COMMON FdoString * | NLSGetMessage (FdoInt32 msgNum, char *defMsg,...) |
| Gets the exception message. For internal use by template classes in getting a localized message. | |
| FDO_API_COMMON FdoString * | NLSGetMessage (FdoInt32 msgNum, char *defMsg, char *file, int line, char *catalog, va_list arguments) |
| Gets the exception message. For internal use by FdoException class in getting a localized message. | |
| FDO_API_COMMON FdoString * | NLSGetMessage (FdoInt32 msgNum, char *defMsg, char *file, int line,...) |
| Gets the exception message. For internal use by template classes in getting a localized message. | |
Protected Member Functions | |
| virtual void | Dispose () |
| DOXYGEN-IGNORE | |
| FDO_API_COMMON | FdoException (FdoString *message, FdoException *cause) |
| Constructs an instance of a FdoException using the specified arguments. | |
| FDO_API_COMMON | FdoException (FdoString *message) |
| Constructs an instance of a FdoException using the specified arguments. | |
| FDO_API_COMMON | FdoException () |
| Constructs a default instance of a FdoException. | |
| virtual FDO_API_COMMON | ~FdoException () |
| Default destructor for FdoException class. | |
Protected Attributes | |
| FdoException * | m_cause |
| wchar_t * | m_message |
| DOXYGEN-IGNORE | |
|
|
Constructs a default instance of a FdoException.
|
|
|
Constructs an instance of a FdoException using the specified arguments.
|
|
||||||||||||
|
Constructs an instance of a FdoException using the specified arguments.
|
|
|
Default destructor for FdoException class.
|
|
||||||||||||
|
Returns an instance of a FdoException using the specified arguments.
Reimplemented in FdoXmlException, FdoCommandException, FdoSpatialContextMismatchException, FdoConnectionException, FdoExpressionException, FdoFilterException, FdoAutogenerationException, and FdoSchemaException. |
|
|
Returns an instance of a FdoException using the specified arguments.
Reimplemented in FdoXmlException, FdoCommandException, FdoSpatialContextMismatchException, FdoConnectionException, FdoExpressionException, FdoFilterException, FdoAutogenerationException, and FdoSchemaException. |
|
|
|
DOXYGEN-IGNORE
Implements FdoIDisposable. Reimplemented in FdoXmlException, FdoClientServiceException, FdoCommandException, FdoSpatialContextMismatchException, FdoConnectionException, FdoExpressionException, FdoFilterException, FdoAutogenerationException, and FdoSchemaException. |
|
|
Gets a reference to the exception that caused this exception.
|
|
|
Gets the message associated with this exception. If no message is associated with this exception but it has a cause, then this method returns the message specified for the cause exception. If no message and no cause are associated with this exception then a null reference is returned.
|
|
|
Gets a reference to the exception that is the root cause of this exception.
|
|
||||||||||||||||||||
|
Gets the exception message. For internal use by FdoException class in getting a localized message.
|
|
||||||||||||||||
|
Gets the exception message. For internal use by template classes in getting a localized message.
|
|
||||||||||||||||||||||||||||
|
Gets the exception message. For internal use by FdoException class in getting a localized message.
|
|
||||||||||||||||||||||||
|
Gets the exception message. For internal use by template classes in getting a localized message.
|
|
|
Sets the cause exception.
|
|
|
Gets the message associated with this exception. If no message is associated with this exception but it has a cause, then this method returns the message specified for the cause exception. If no message and no cause are associated with this exception then a null reference is returned.
Reimplemented in FdoClientServiceException. |
|
|
Definition at line 223 of file Exception.h. |
|
|
DOXYGEN-IGNORE
Definition at line 222 of file Exception.h. |
| Comments or suggestions? Send us feedback. |