version 1.24, 2007/04/10 18:11:01
|
version 1.28, 2008/06/20 17:20:35
|
|
|
}; | }; |
| |
// ATTN: P3 KS documentation Required | // ATTN: P3 KS documentation Required |
class PEGASUS_COMMON_LINKAGE ClassAlreadyResolved : public Exception |
|
{ |
|
public: |
|
|
|
static const char MSG[]; |
|
static const char KEY[]; |
|
|
|
ClassAlreadyResolved(const String& className); |
|
|
|
virtual ~ClassAlreadyResolved(); |
|
}; |
|
|
|
// ATTN: P3 KS documentation Required |
|
class PEGASUS_COMMON_LINKAGE ClassNotResolved : public Exception |
|
{ |
|
public: |
|
|
|
static const char MSG[]; |
|
static const char KEY[]; |
|
|
|
ClassNotResolved(const String& className); |
|
virtual ~ClassNotResolved(); |
|
}; |
|
|
|
// ATTN: P3 KS documentation Required |
|
class PEGASUS_COMMON_LINKAGE InstanceAlreadyResolved : public Exception |
|
{ |
|
public: |
|
|
|
static const char MSG[]; |
|
static const char KEY[]; |
|
|
|
InstanceAlreadyResolved(); |
|
virtual ~InstanceAlreadyResolved(); |
|
}; |
|
|
|
// ATTN: P3 KS documentation Required |
|
class PEGASUS_COMMON_LINKAGE InstantiatedAbstractClass : public Exception | class PEGASUS_COMMON_LINKAGE InstantiatedAbstractClass : public Exception |
{ | { |
public: | public: |
|
|
virtual ~StackOverflow(); | virtual ~StackOverflow(); |
}; | }; |
| |
class PEGASUS_COMMON_LINKAGE BadlyFormedCGIQueryString : public Exception |
|
{ |
|
public: |
|
|
|
static const char MSG[]; |
|
static const char KEY[]; |
|
|
|
BadlyFormedCGIQueryString(); |
|
virtual ~BadlyFormedCGIQueryString(); |
|
}; |
|
|
|
class PEGASUS_COMMON_LINKAGE DynamicLoadFailed : public Exception | class PEGASUS_COMMON_LINKAGE DynamicLoadFailed : public Exception |
{ | { |
public: | public: |
|
|
} \ | } \ |
while (0) | while (0) |
| |
|
/** The following function CheckRep serves to reduce the function call |
|
* overhead caused by calling a non-inlined function that only checks |
|
* if a pointer is not NULL. |
|
* The function ThrowUnitializedObjectException throws |
|
* an UninitialisedObjectException. |
|
* A function to throw the exception is used to reduce object size of |
|
* function CheckRep which is inlined in many places across |
|
* the common library. |
|
*/ |
|
PEGASUS_COMMON_LINKAGE extern void ThrowUninitializedObjectException(); |
|
|
|
inline void CheckRep(void * rep) |
|
{ |
|
if (!rep) |
|
ThrowUninitializedObjectException(); |
|
} |
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
#endif /* Pegasus_InternalException_h */ | #endif /* Pegasus_InternalException_h */ |