(file) Return to InternalException.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/InternalException.h between version 1.11 and 1.12.4.1

version 1.11, 2004/06/16 19:51:54 version 1.12.4.1, 2004/12/01 03:23:47
Line 1 
Line 1 
 //%2003////////////////////////////////////////////////////////////////////////  //%2004////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Company, L. P., IBM Corp., 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.; // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
 // IBM Corp.; EMC Corporation, The Open Group. // IBM Corp.; EMC Corporation, The Open Group.
   // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation; VERITAS Software 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
Line 48 
Line 50 
 public: public:
  
     AssertionFailureException(     AssertionFailureException(
         const char* file,          const char* file, size_t line, const char* message);
         size_t line,  
         const String& message);      AssertionFailureException(
           const char* file, size_t line, const String& message);
   
   private:
       void _init(const char* file, size_t line, const String& message);
 }; };
  
 /** define PEGASUS_ASSERT assertion statement.  This statement tests the /** define PEGASUS_ASSERT assertion statement.  This statement tests the
Line 105 
Line 111 
  
     //NullPointer() : Exception(MSG) { }     //NullPointer() : Exception(MSG) { }
  
     NullPointer() : Exception(MessageLoaderParms(KEY, MSG)) { }      NullPointer() : Exception(KEY, MSG) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 121 
Line 127 
  
 // NOTE - MSG needs to have a $0 arg for all the substitution cases // NOTE - MSG needs to have a $0 arg for all the substitution cases
   UndeclaredQualifier(const String& qualifierName)   UndeclaredQualifier(const String& qualifierName)
         : Exception(MessageLoaderParms(KEY, MSG, qualifierName)) { }          : Exception(KEY, MSG, qualifierName) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 137 
Line 143 
  
  
         BadQualifierScope(const String& qualifierName, const String& scopeString)         BadQualifierScope(const String& qualifierName, const String& scopeString)
                                                  : Exception(MessageLoaderParms(KEY,                                                   : Exception(KEY,
                                                                                                                 MSG,                                                                                                                 MSG,
                                                                                                                 qualifierName,                                                                                                                 qualifierName,
                                                                                                                 scopeString)) { }                                                                                                                  scopeString) { }
  
 }; };
  
Line 156 
Line 162 
         //: Exception(MSG + qualifierName) { }         //: Exception(MSG + qualifierName) { }
  
     BadQualifierOverride(const String& qualifierName)     BadQualifierOverride(const String& qualifierName)
     : Exception(MessageLoaderParms(KEY, MSG, qualifierName)) { }      : Exception(KEY, MSG, qualifierName) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE BadQualifierType : public Exception class PEGASUS_COMMON_LINKAGE BadQualifierType : public Exception
Line 170 
Line 176 
         //: Exception(MSG + qualifierName) { }         //: Exception(MSG + qualifierName) { }
  
     BadQualifierType(const String& qualifierName)     BadQualifierType(const String& qualifierName)
         : Exception(MessageLoaderParms(KEY, MSG, qualifierName)) { }          : Exception(KEY, MSG, qualifierName) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 185 
Line 191 
         //: Exception(MSG + className) { }         //: Exception(MSG + className) { }
  
     ClassAlreadyResolved(const String& className)     ClassAlreadyResolved(const String& className)
         : Exception(MessageLoaderParms(KEY, MSG, className)) { }          : Exception(KEY, MSG, className) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 200 
Line 206 
         //: Exception(MSG + className) { }         //: Exception(MSG + className) { }
  
     ClassNotResolved(const String& className)     ClassNotResolved(const String& className)
         : Exception(MessageLoaderParms(KEY, MSG, className)) { }          : Exception(KEY, MSG, className) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 215 
Line 221 
     // : Exception(MSG) { }     // : Exception(MSG) { }
  
     InstanceAlreadyResolved()     InstanceAlreadyResolved()
         : Exception(MessageLoaderParms(KEY, MSG)) { }          : Exception(KEY, MSG) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 230 
Line 236 
      //: Exception(MSG + className) { }      //: Exception(MSG + className) { }
  
     InstantiatedAbstractClass(const String& className)     InstantiatedAbstractClass(const String& className)
         : Exception(MessageLoaderParms(KEY, MSG, className)) { }          : Exception(KEY, MSG, className) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 245 
Line 251 
         //: Exception(MSG + propertyName) { }         //: Exception(MSG + propertyName) { }
  
     NoSuchProperty(const String& propertyName)     NoSuchProperty(const String& propertyName)
         : Exception(MessageLoaderParms(KEY, MSG, propertyName)) { }          : Exception(KEY, MSG, propertyName) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 259 
Line 265 
    // NoSuchFile(const String& fileName) : Exception(MSG + fileName) { }    // NoSuchFile(const String& fileName) : Exception(MSG + fileName) { }
  
     NoSuchFile(const String& fileName)     NoSuchFile(const String& fileName)
         : Exception(MessageLoaderParms(KEY, MSG, fileName)) { }          : Exception(KEY, MSG, fileName) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 273 
Line 279 
     //FileNotReadable(const String& fileName) : Exception(MSG + fileName) { }     //FileNotReadable(const String& fileName) : Exception(MSG + fileName) { }
  
     FileNotReadable(const String& fileName)     FileNotReadable(const String& fileName)
         : Exception(MessageLoaderParms(KEY, MSG, fileName)) { }          : Exception(KEY, MSG, fileName) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 287 
Line 293 
     //CannotRemoveDirectory(const String& path) : Exception(MSG + path) { }     //CannotRemoveDirectory(const String& path) : Exception(MSG + path) { }
  
     CannotRemoveDirectory(const String& path)     CannotRemoveDirectory(const String& path)
         : Exception(MessageLoaderParms(KEY, MSG, path)) { }          : Exception(KEY, MSG, path) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 300 
Line 306 
  
     //CannotRemoveFile(const String& path) : Exception(MSG + path) { }     //CannotRemoveFile(const String& path) : Exception(MSG + path) { }
     CannotRemoveFile(const String& path)     CannotRemoveFile(const String& path)
         : Exception(MessageLoaderParms(KEY, MSG, path)) { }          : Exception(KEY, MSG, path) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 313 
Line 319 
  
     //CannotRenameFile(const String& path) : Exception(MSG + path) { }     //CannotRenameFile(const String& path) : Exception(MSG + path) { }
     CannotRenameFile(const String& path)     CannotRenameFile(const String& path)
         : Exception(MessageLoaderParms(KEY, MSG, path)) { }          : Exception(KEY, MSG, path) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 327 
Line 333 
     //NoSuchDirectory(const String& directoryName)     //NoSuchDirectory(const String& directoryName)
         //: Exception(MSG + directoryName) { }         //: Exception(MSG + directoryName) { }
     NoSuchDirectory(const String& directoryName)     NoSuchDirectory(const String& directoryName)
         : Exception(MessageLoaderParms(KEY, MSG, directoryName)) { }          : Exception(KEY, MSG, directoryName) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 341 
Line 347 
     //CannotCreateDirectory(const String& path)     //CannotCreateDirectory(const String& path)
         //: Exception(MSG + path) { }         //: Exception(MSG + path) { }
     CannotCreateDirectory(const String& path)     CannotCreateDirectory(const String& path)
         : Exception(MessageLoaderParms(KEY, MSG, path)) { }          : Exception(KEY, MSG, path) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 355 
Line 361 
     //CannotOpenFile(const String& path)     //CannotOpenFile(const String& path)
         //: Exception(MSG + path) { }         //: Exception(MSG + path) { }
     CannotOpenFile(const String& path)     CannotOpenFile(const String& path)
         : Exception(MessageLoaderParms(KEY, MSG, path)) { }          : Exception(KEY, MSG, path) { }
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
Line 368 
Line 374 
  
    // NotImplemented(const String& method) : Exception(MSG + method) { }    // NotImplemented(const String& method) : Exception(MSG + method) { }
     NotImplemented(const String& method)     NotImplemented(const String& method)
         : Exception(MessageLoaderParms(KEY, MSG, method)) { }          : Exception(KEY, MSG, method) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE StackUnderflow : public Exception class PEGASUS_COMMON_LINKAGE StackUnderflow : public Exception
Line 380 
Line 386 
  
     //StackUnderflow() : Exception(MSG) { }     //StackUnderflow() : Exception(MSG) { }
     StackUnderflow()     StackUnderflow()
         : Exception(MessageLoaderParms(KEY, MSG)) { }          : Exception(KEY, MSG) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE StackOverflow : public Exception class PEGASUS_COMMON_LINKAGE StackOverflow : public Exception
Line 392 
Line 398 
  
     //StackOverflow() : Exception(MSG) { }     //StackOverflow() : Exception(MSG) { }
     StackOverflow()     StackOverflow()
         : Exception(MessageLoaderParms(KEY, MSG)) { }          : Exception(KEY, MSG) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE QueueUnderflow : public Exception class PEGASUS_COMMON_LINKAGE QueueUnderflow : public Exception
Line 404 
Line 410 
  
     //QueueUnderflow() : Exception(MSG) { }     //QueueUnderflow() : Exception(MSG) { }
     QueueUnderflow()     QueueUnderflow()
         : Exception(MessageLoaderParms(KEY, MSG)) { }          : Exception(KEY, MSG) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE BadFormat : public Exception class PEGASUS_COMMON_LINKAGE BadFormat : public Exception
Line 416 
Line 422 
  
     //BadFormat() : Exception(MSG) { }     //BadFormat() : Exception(MSG) { }
     BadFormat()     BadFormat()
         : Exception(MessageLoaderParms(KEY, MSG)) { }          : Exception(KEY, MSG) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE BadlyFormedCGIQueryString : public Exception class PEGASUS_COMMON_LINKAGE BadlyFormedCGIQueryString : public Exception
Line 428 
Line 434 
  
     //BadlyFormedCGIQueryString() : Exception(MSG) { }     //BadlyFormedCGIQueryString() : Exception(MSG) { }
     BadlyFormedCGIQueryString()     BadlyFormedCGIQueryString()
         : Exception(MessageLoaderParms(KEY, MSG)) { }          : Exception(KEY, MSG) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE DynamicLoadFailed : public Exception class PEGASUS_COMMON_LINKAGE DynamicLoadFailed : public Exception
Line 442 
Line 448 
         //: Exception(MSG + libraryName) { }         //: Exception(MSG + libraryName) { }
  
     DynamicLoadFailed(const String& libraryName)     DynamicLoadFailed(const String& libraryName)
         : Exception(MessageLoaderParms(KEY, MSG, libraryName)) { }          : Exception(KEY, MSG, libraryName) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE DynamicLookupFailed : public Exception class PEGASUS_COMMON_LINKAGE DynamicLookupFailed : public Exception
Line 455 
Line 461 
     //DynamicLookupFailed(const String& symbolName)     //DynamicLookupFailed(const String& symbolName)
         //: Exception(MSG + symbolName) { }         //: Exception(MSG + symbolName) { }
     DynamicLookupFailed(const String& symbolName)     DynamicLookupFailed(const String& symbolName)
         : Exception(MessageLoaderParms(KEY, MSG, symbolName)) { }          : Exception(KEY, MSG, symbolName) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE CannotOpenDirectory : public Exception class PEGASUS_COMMON_LINKAGE CannotOpenDirectory : public Exception
Line 467 
Line 473 
  
     //CannotOpenDirectory(const String& path) : Exception(MSG + path) { }     //CannotOpenDirectory(const String& path) : Exception(MSG + path) { }
     CannotOpenDirectory(const String& path)     CannotOpenDirectory(const String& path)
         : Exception(MessageLoaderParms(KEY, MSG, path)) { }          : Exception(KEY, MSG, path) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE ParseError : public Exception class PEGASUS_COMMON_LINKAGE ParseError : public Exception
Line 479 
Line 485 
  
     //ParseError(const String& message) : Exception(MSG + message) { }     //ParseError(const String& message) : Exception(MSG + message) { }
     ParseError(const String& message)     ParseError(const String& message)
         : Exception(MessageLoaderParms(KEY, MSG, message)) { }          : Exception(KEY, MSG, message) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE MissingNullTerminator : public Exception class PEGASUS_COMMON_LINKAGE MissingNullTerminator : public Exception
Line 491 
Line 497 
  
     //MissingNullTerminator() : Exception(MSG) { }     //MissingNullTerminator() : Exception(MSG) { }
     MissingNullTerminator()     MissingNullTerminator()
         : Exception(MessageLoaderParms(KEY, MSG)) { }          : Exception(KEY, MSG) { }
 }; };
  
 //l10n start //l10n start
Line 505 
Line 511 
  
     //MalformedLanguageHeader(const String& error) : Exception(MSG + error) { }     //MalformedLanguageHeader(const String& error) : Exception(MSG + error) { }
     MalformedLanguageHeader(const String& error)     MalformedLanguageHeader(const String& error)
         : Exception(MessageLoaderParms(KEY, MSG, error)) { }          : Exception(KEY, MSG, error) { }
 }; };
  
  
Line 518 
Line 524 
  
     //InvalidAcceptLanguageHeader(const String& error) : Exception(MSG + error) { }     //InvalidAcceptLanguageHeader(const String& error) : Exception(MSG + error) { }
     InvalidAcceptLanguageHeader(const String& error)     InvalidAcceptLanguageHeader(const String& error)
         : Exception(MessageLoaderParms(KEY, MSG, error)) { }          : Exception(KEY, MSG, error) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE InvalidContentLanguageHeader: public Exception class PEGASUS_COMMON_LINKAGE InvalidContentLanguageHeader: public Exception
Line 530 
Line 536 
  
     //InvalidContentLanguageHeader(const String& error) : Exception(MSG + error) { }     //InvalidContentLanguageHeader(const String& error) : Exception(MSG + error) { }
     InvalidContentLanguageHeader(const String& error)     InvalidContentLanguageHeader(const String& error)
         : Exception(MessageLoaderParms(KEY, MSG, error)) { }          : Exception(KEY, MSG, error) { }
 }; };
  
 //l10n end //l10n end
Line 544 
Line 550 
  
     //InvalidAuthHeader() : Exception(MSG) { }     //InvalidAuthHeader() : Exception(MSG) { }
     InvalidAuthHeader()     InvalidAuthHeader()
         : Exception(MessageLoaderParms(KEY, MSG)) { }          : Exception(KEY, MSG) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE UnauthorizedAccess: public Exception class PEGASUS_COMMON_LINKAGE UnauthorizedAccess: public Exception
Line 556 
Line 562 
  
     //UnauthorizedAccess() : Exception(MSG) { }     //UnauthorizedAccess() : Exception(MSG) { }
     UnauthorizedAccess()     UnauthorizedAccess()
         : Exception(MessageLoaderParms(KEY, MSG)) { }          : Exception(KEY, MSG) { }
 }; };
  
 class PEGASUS_COMMON_LINKAGE IncompatibleTypesException : public Exception class PEGASUS_COMMON_LINKAGE IncompatibleTypesException : public Exception


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12.4.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2