version 1.6, 2003/07/18 13:26:20
|
version 1.10, 2004/05/26 17:04:39
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2003//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// The Open Group, Tivoli Systems |
// Company, L. P., IBM Corp., The Open Group, Tivoli Systems. |
|
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
|
// IBM Corp.; EMC Corporation, The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
} while (0) | } while (0) |
| |
| |
// l10n TODO - finish the commented out constructors |
|
|
|
// ATTN: P3 KS documentation Required | // ATTN: P3 KS documentation Required |
class PEGASUS_COMMON_LINKAGE NullPointer : public Exception | class PEGASUS_COMMON_LINKAGE NullPointer : public Exception |
{ | { |
|
|
IncompatibleTypesException(); | IncompatibleTypesException(); |
}; | }; |
| |
|
class PEGASUS_COMMON_LINKAGE InternalSystemError : public Exception |
|
{ |
|
public: |
|
|
|
static const char MSG[]; |
|
|
|
InternalSystemError() |
|
: Exception(MSG) { } |
|
}; |
|
|
| |
/** The CIMException defines the CIM exceptions that are formally defined in | /** The CIMException defines the CIM exceptions that are formally defined in |
the CIM Operations over HTTP specification. TraceableCIMException allows | the CIM Operations over HTTP specification. TraceableCIMException allows |
|
|
| |
// l10n | // l10n |
TraceableCIMException( | TraceableCIMException( |
|
CIMStatusCode code, |
|
MessageLoaderParms parms, |
|
const char* file, |
|
Uint32 line); |
|
|
|
// l10n |
|
TraceableCIMException( |
const ContentLanguages& langs, | const ContentLanguages& langs, |
CIMStatusCode code, | CIMStatusCode code, |
const String& message, | const String& message, |
|
|
#define PEGASUS_CIM_EXCEPTION_LANG(LANGS, CODE, EXTRA_MESSAGE) \ | #define PEGASUS_CIM_EXCEPTION_LANG(LANGS, CODE, EXTRA_MESSAGE) \ |
TraceableCIMException(LANGS, CODE, EXTRA_MESSAGE, __FILE__, __LINE__) | TraceableCIMException(LANGS, CODE, EXTRA_MESSAGE, __FILE__, __LINE__) |
| |
|
//l10n |
|
#define PEGASUS_CIM_EXCEPTION_L(CODE, MSG_PARMS) \ |
|
TraceableCIMException(CODE, MSG_PARMS, __FILE__, __LINE__) |
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
#endif /* Pegasus_InternalException_h */ | #endif /* Pegasus_InternalException_h */ |