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

Diff for /pegasus/src/Pegasus/Common/InternalException.cpp between version 1.17.18.1 and 1.29.4.1

version 1.17.18.1, 2006/02/10 16:09:37 version 1.29.4.1, 2008/07/01 15:17:59
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Mike Brasher (mbrasher@bmc.com)  
 //  
 // Modified By: Nag Boranna (nagaraja_boranna@hp.com)  
 //  
 // Modified By: Jenny Yu (jenny_yu@am.exch.hp.com)  
 //              Carol Ann Krug Graves, Hewlett-Packard Company  
 //                (carolann_graves@hp.com)  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include <cstdio> #include <cstdio>
Line 61 
Line 53 
     _rep->message.append("): ");     _rep->message.append("): ");
     _rep->message.append(message);     _rep->message.append(message);
  
     PEG_TRACE_STRING(TRC_DISCARDED_DATA, Tracer::LEVEL2, _rep->message);      PEG_TRACE_STRING(TRC_DISCARDED_DATA, Tracer::LEVEL1, _rep->message);
   }
   
   AssertionFailureException::~AssertionFailureException()
   {
 } }
  
 const char NullPointer::MSG[] = "null pointer"; const char NullPointer::MSG[] = "null pointer";
 const char NullPointer::KEY[] = "Common.InternalException.NULL_POINTER"; const char NullPointer::KEY[] = "Common.InternalException.NULL_POINTER";
  
 //l10n  
 const char UndeclaredQualifier::MSG[] = "undeclared qualifier: $0"; const char UndeclaredQualifier::MSG[] = "undeclared qualifier: $0";
 const char UndeclaredQualifier::KEY[] = "Common.InternalException.UNDECLARED_QUALIFIER";  const char UndeclaredQualifier::KEY[] =
       "Common.InternalException.UNDECLARED_QUALIFIER";
  
 //l10n  const char BadQualifierScope::MSG[] =
 const char BadQualifierScope::MSG[] = "qualifier invalid in this scope: $0 scope=$1";      "qualifier invalid in this scope: $0 scope=$1";
 const char BadQualifierScope::KEY[] = "Common.InternalException.BAD_QUALIFIER_SCOPE";  const char BadQualifierScope::KEY[] =
       "Common.InternalException.BAD_QUALIFIER_SCOPE";
  
 //l10n  
 const char BadQualifierOverride::MSG[] = "qualifier not overridable: $0"; const char BadQualifierOverride::MSG[] = "qualifier not overridable: $0";
 const char BadQualifierOverride::KEY[] = "Common.InternalException.BAD_QUALIFIER_OVERRIDE";  const char BadQualifierOverride::KEY[] =
       "Common.InternalException.BAD_QUALIFIER_OVERRIDE";
  
 //l10n  const char BadQualifierType::MSG[] =
 const char BadQualifierType::MSG[] = "CIMType of qualifier different than its declaration: $0";      "CIMType of qualifier different than its declaration: $0";
 const char BadQualifierType::KEY[] = "Common.InternalException.BAD_QUALIFIER_TYPE";  const char BadQualifierType::KEY[] =
       "Common.InternalException.BAD_QUALIFIER_TYPE";
   
   const char InstantiatedAbstractClass::MSG[] =
       "attempted to instantiate an abstract class $0";
   const char InstantiatedAbstractClass::KEY[] =
       "Common.InternalException.INSTANTIATED_ABSTRACT_CLASS";
  
 const char ClassAlreadyResolved::MSG[] = "attempt to resolve a class that is already resolved: $0";  
 const char ClassAlreadyResolved::KEY[] = "Common.InternalException.CLASS_ALREADY_RESOLVED";  
   
 //l10n  
 const char ClassNotResolved::MSG[] = "class is not yet resolved: $0";  
 const char ClassNotResolved::KEY[] = "Common.InternalException.CLASS_NOT_RESOLVED";  
   
 const char InstanceAlreadyResolved::MSG[] = "attempted to resolve a instance that is already resolved";  
 const char InstanceAlreadyResolved::KEY[] = "Common.InternalException.INSTANCE_ALREADY_RESOLVED";  
   
 //l10n  
 const char InstantiatedAbstractClass::MSG[] = "attempted to instantiate an abstract class $0";  
 const char InstantiatedAbstractClass::KEY[] = "Common.InternalException.INSTANTIATED_ABSTRACT_CLASS";  
   
 //l10n  
 const char NoSuchProperty::MSG[] = "no such property: $0"; const char NoSuchProperty::MSG[] = "no such property: $0";
 const char NoSuchProperty::KEY[] = "Common.InternalException.NO_SUCH_PROPERTY"; const char NoSuchProperty::KEY[] = "Common.InternalException.NO_SUCH_PROPERTY";
  
 //l10n  
 const char NoSuchFile::MSG[] = "no such file: $0"; const char NoSuchFile::MSG[] = "no such file: $0";
 const char NoSuchFile::KEY[] = "Common.InternalException.NO_SUCH_FILE"; const char NoSuchFile::KEY[] = "Common.InternalException.NO_SUCH_FILE";
  
 //l10n  
 const char FileNotReadable::MSG[] = "file not readable: $0"; const char FileNotReadable::MSG[] = "file not readable: $0";
 const char FileNotReadable::KEY[] = "Common.InternalException.FILE_NOT_READABLE";  const char FileNotReadable::KEY[] =
       "Common.InternalException.FILE_NOT_READABLE";
  
 //l10n  
 const char CannotRemoveDirectory::MSG[] = "cannot remove directory: $0"; const char CannotRemoveDirectory::MSG[] = "cannot remove directory: $0";
 const char CannotRemoveDirectory::KEY[] = "Common.InternalException.CANNOT_REMOVE_DIRECTORY";  const char CannotRemoveDirectory::KEY[] =
       "Common.InternalException.CANNOT_REMOVE_DIRECTORY";
  
 //l10n  
 const char CannotRemoveFile::MSG[] = "cannot remove file: $0"; const char CannotRemoveFile::MSG[] = "cannot remove file: $0";
 const char CannotRemoveFile::KEY[] = "Common.InternalException.CANNOT_REMOVE_FILE";  const char CannotRemoveFile::KEY[] =
       "Common.InternalException.CANNOT_REMOVE_FILE";
  
 //l10n  
 const char CannotRenameFile::MSG[] = "cannot rename file: $0"; const char CannotRenameFile::MSG[] = "cannot rename file: $0";
 const char CannotRenameFile::KEY[] = "Common.InternalException.CANNOT_RENAME_FILE";  const char CannotRenameFile::KEY[] =
       "Common.InternalException.CANNOT_RENAME_FILE";
  
 //l10n  
 const char NoSuchDirectory::MSG[] = "no such directory: $0"; const char NoSuchDirectory::MSG[] = "no such directory: $0";
 const char NoSuchDirectory::KEY[] = "Common.InternalException.NO_SUCH_DIRECTORY";  const char NoSuchDirectory::KEY[] =
       "Common.InternalException.NO_SUCH_DIRECTORY";
  
 //l10n  
 const char CannotCreateDirectory::MSG[] = "cannot create directory: $0"; const char CannotCreateDirectory::MSG[] = "cannot create directory: $0";
 const char CannotCreateDirectory::KEY[] = "Common.InternalException.CANNOT_CREATE_DIRECTORY";  const char CannotCreateDirectory::KEY[] =
       "Common.InternalException.CANNOT_CREATE_DIRECTORY";
  
 //l10n  
 const char CannotOpenFile::MSG[] = "cannot open file: $0"; const char CannotOpenFile::MSG[] = "cannot open file: $0";
 const char CannotOpenFile::KEY[] = "Common.InternalException.CANNOT_OPEN_FILE"; const char CannotOpenFile::KEY[] = "Common.InternalException.CANNOT_OPEN_FILE";
  
 //l10n  
 const char NotImplemented::MSG[] = "not implemented: $0"; const char NotImplemented::MSG[] = "not implemented: $0";
 const char NotImplemented::KEY[] = "Common.InternalException.NOT_IMPLEMENTED"; const char NotImplemented::KEY[] = "Common.InternalException.NOT_IMPLEMENTED";
  
Line 143 
Line 128 
 const char StackOverflow::MSG[] = "stack overflow"; const char StackOverflow::MSG[] = "stack overflow";
 const char StackOverflow::KEY[] = "Common.InternalException.STACK_OVERFLOW"; const char StackOverflow::KEY[] = "Common.InternalException.STACK_OVERFLOW";
  
 const char QueueUnderflow::MSG[] = "queue Underflow";  
 const char QueueUnderflow::KEY[] = "Common.InternalException.QUEUE UNDERFLOW";  
   
 const char BadFormat::MSG[] = "bad format passed to Formatter::format()";  
 const char BadFormat::KEY[] = "Common.InternalException.BAD_FORMAT";  
   
 const char BadlyFormedCGIQueryString::MSG[] = "badly formed CGI query string";  
 const char BadlyFormedCGIQueryString::KEY[] = "Common.InternalException.BADLY_FORMED_CGI_QUERY_STRING";  
   
 //l10n  
 const char DynamicLoadFailed::MSG[] = "load of dynamic library failed: $0"; const char DynamicLoadFailed::MSG[] = "load of dynamic library failed: $0";
 const char DynamicLoadFailed::KEY[] = "Common.InternalException.DYNAMIC_LOAD_FAILED";  const char DynamicLoadFailed::KEY[] =
       "Common.InternalException.DYNAMIC_LOAD_FAILED";
  
 //l10n  const char DynamicLookupFailed::MSG[] =
 const char DynamicLookupFailed::MSG[] = "lookup of symbol in dynamic library failed: $0";      "lookup of symbol in dynamic library failed: $0";
 const char DynamicLookupFailed::KEY[] = "Common.InternalException.DYNAMIC_LOOKUP_FAILED";  const char DynamicLookupFailed::KEY[] =
       "Common.InternalException.DYNAMIC_LOOKUP_FAILED";
  
 //l10n  
 const char CannotOpenDirectory::MSG[] = "cannot open directory: $0"; const char CannotOpenDirectory::MSG[] = "cannot open directory: $0";
 const char CannotOpenDirectory::KEY[] = "Common.InternalException.CANNOT_OPEN_DIRECTORY";  const char CannotOpenDirectory::KEY[] =
       "Common.InternalException.CANNOT_OPEN_DIRECTORY";
  
 //l10n  
 const char ParseError::MSG[] = "parse error: $0"; const char ParseError::MSG[] = "parse error: $0";
 const char ParseError::KEY[] = "Common.InternalException.PARSE_ERROR"; const char ParseError::KEY[] = "Common.InternalException.PARSE_ERROR";
  
 //l10n  
 const char MissingNullTerminator::MSG[] = "missing null terminator: $0"; const char MissingNullTerminator::MSG[] = "missing null terminator: $0";
 const char MissingNullTerminator::KEY[] = "Common.InternalException.MISSING_NULL_TERMINATOR";  const char MissingNullTerminator::KEY[] =
       "Common.InternalException.MISSING_NULL_TERMINATOR";
  
 //l10n  
 const char MalformedLanguageHeader::MSG[] = "malformed language header: $0"; const char MalformedLanguageHeader::MSG[] = "malformed language header: $0";
 const char MalformedLanguageHeader::KEY[] = "Common.InternalException.MALFORMED_LANGUAGE_HEADER";  const char MalformedLanguageHeader::KEY[] =
       "Common.InternalException.MALFORMED_LANGUAGE_HEADER";
  
 //l10n  const char InvalidAcceptLanguageHeader::MSG[] =
 const char InvalidAcceptLanguageHeader::MSG[] = "invalid acceptlanguage header: $0";      "invalid acceptlanguage header: $0";
 const char InvalidAcceptLanguageHeader::KEY[] = "Common.InternalException.INVALID_ACCEPTLANGUAGE_HEADER";  const char InvalidAcceptLanguageHeader::KEY[] =
       "Common.InternalException.INVALID_ACCEPTLANGUAGE_HEADER";
 //l10n  
 const char InvalidContentLanguageHeader::MSG[] = "invalid contentlanguage header: $0";  const char InvalidContentLanguageHeader::MSG[] =
 const char InvalidContentLanguageHeader::KEY[] = "Common.InternalException.INVALID_CONTENTLANGUAGE_HEADER";      "invalid contentlanguage header: $0";
   const char InvalidContentLanguageHeader::KEY[] =
       "Common.InternalException.INVALID_CONTENTLANGUAGE_HEADER";
  
 const char InvalidAuthHeader::MSG[] = "Invalid Authorization header"; const char InvalidAuthHeader::MSG[] = "Invalid Authorization header";
 const char InvalidAuthHeader::KEY[] = "Common.InternalException.INVALID_AUTH_HEADER";  const char InvalidAuthHeader::KEY[] =
       "Common.InternalException.INVALID_AUTH_HEADER";
  
 const char UnauthorizedAccess::MSG[] = "Unauthorized access"; const char UnauthorizedAccess::MSG[] = "Unauthorized access";
 const char UnauthorizedAccess::KEY[] = "Common.InternalException.UNAUTHORIZED_ACCESS";  const char UnauthorizedAccess::KEY[] =
       "Common.InternalException.UNAUTHORIZED_ACCESS";
  
 const char InternalSystemError::MSG[] = "Unable to authenticate user"; const char InternalSystemError::MSG[] = "Unable to authenticate user";
  
 IncompatibleTypesException::IncompatibleTypesException()  
     : Exception("incompatible types")  
 {  
 }  
   
   
 //////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
 // //
 // TraceableCIMException // TraceableCIMException
Line 215 
Line 189 
     tmp.append(cimStatusCodeToString(code));     tmp.append(cimStatusCodeToString(code));
     if (message != String::EMPTY)     if (message != String::EMPTY)
     {     {
         tmp.append(": \"");          tmp.append(": ");
         tmp.append(message);         tmp.append(message);
         tmp.append("\"");  
     }     }
     return tmp;     return tmp;
 } }
  
 // l10n  
 // //
 // Creates a description without source file name and line number. // Creates a description without source file name and line number.
 // //
Line 235 
Line 207 
     tmp = cimStatusCodeToString(code, contentLanguages);     tmp = cimStatusCodeToString(code, contentLanguages);
     if (message != String::EMPTY)     if (message != String::EMPTY)
     {     {
         tmp.append(": \"");          tmp.append(": ");
         tmp.append(message);         tmp.append(message);
         tmp.append("\"");  
     }     }
     return tmp;     return tmp;
 } }
  
 // l10n  
 // //
 // Creates a description without source file name and line number. // Creates a description without source file name and line number.
 // //
Line 254 
Line 224 
     tmp = cimMessage;     tmp = cimMessage;
     if (extraMessage != String::EMPTY)     if (extraMessage != String::EMPTY)
     {     {
         tmp.append(": \"");          tmp.append(": ");
         tmp.append(extraMessage);         tmp.append(extraMessage);
         tmp.append("\"");  
     }     }
     return tmp;     return tmp;
 } }
Line 273 
Line 242 
     String tmp = file;     String tmp = file;
     tmp.append("(");     tmp.append("(");
     char buffer[32];     char buffer[32];
     sprintf(buffer, "%d", line);      sprintf(buffer, "%u", line);
     tmp.append(buffer);     tmp.append(buffer);
     tmp.append("): ");     tmp.append("): ");
     tmp.append(_makeCIMExceptionDescription(code, message));     tmp.append(_makeCIMExceptionDescription(code, message));
     return tmp;     return tmp;
 } }
  
 //l10n  
 TraceableCIMException::TraceableCIMException( TraceableCIMException::TraceableCIMException(
     CIMStatusCode code,     CIMStatusCode code,
     MessageLoaderParms parms,      const MessageLoaderParms& parms,
     const String& file,     const String& file,
     Uint32 line)     Uint32 line)
     :      : CIMException(code, parms)
     CIMException(code, parms)  
 { {
     CIMExceptionRep* rep;     CIMExceptionRep* rep;
     rep = reinterpret_cast<CIMExceptionRep*>(_rep);     rep = reinterpret_cast<CIMExceptionRep*>(_rep);
     rep->file = file;     rep->file = file;
     rep->line = line;     rep->line = line;
  
 // l10n      // Get the cim message from the code.  Ignore the content languages from
         // Localize the cim message from the code.  Use the language of      // this operation, since the cimMessage string is only localized when the
         // the current thread.      // code is invalid.
         rep->contentLanguages = cimStatusCodeToString_Thread(rep->cimMessage, code);      cimStatusCodeToString_Thread(rep->cimMessage, code);
 } }
  
 TraceableCIMException::TraceableCIMException( TraceableCIMException::TraceableCIMException(
Line 305 
Line 272 
     const String& message,     const String& message,
     const String& file,     const String& file,
     Uint32 line)     Uint32 line)
     :      : CIMException(code, message)
     CIMException(code, message)  
 { {
     CIMExceptionRep* rep;     CIMExceptionRep* rep;
     rep = reinterpret_cast<CIMExceptionRep*>(_rep);     rep = reinterpret_cast<CIMExceptionRep*>(_rep);
     rep->file = file;     rep->file = file;
     rep->line = line;     rep->line = line;
  
 // l10n      // Get the cim message from the code.  Ignore the content languages from
         // Localize the cim message from the code.  Use the language of      // this operation, since the cimMessage string is only localized when the
         // the current thread.      // code is invalid.
         rep->contentLanguages = cimStatusCodeToString_Thread(rep->cimMessage, code);      cimStatusCodeToString_Thread(rep->cimMessage, code);
 } }
  
 // l10n  
 TraceableCIMException::TraceableCIMException( TraceableCIMException::TraceableCIMException(
         const ContentLanguageList& langs,         const ContentLanguageList& langs,
     CIMStatusCode code,     CIMStatusCode code,
     const String& message,     const String& message,
     const String& file,     const String& file,
     Uint32 line)     Uint32 line)
     :      : CIMException(code, message)
     CIMException(code, message)  
 { {
     CIMExceptionRep* rep;     CIMExceptionRep* rep;
     rep = reinterpret_cast<CIMExceptionRep*>(_rep);     rep = reinterpret_cast<CIMExceptionRep*>(_rep);
     rep->file = file;     rep->file = file;
     rep->line = line;     rep->line = line;
  
 // l10n  
         rep->contentLanguages = langs;         rep->contentLanguages = langs;
 } }
  
Line 348 
Line 311 
     right = reinterpret_cast<CIMExceptionRep*>(t->_rep);     right = reinterpret_cast<CIMExceptionRep*>(t->_rep);
     left->file = right->file;     left->file = right->file;
     left->line = right->line;     left->line = right->line;
 // l10n  
     left->contentLanguages = right->contentLanguages;     left->contentLanguages = right->contentLanguages;
     left->cimMessage = right->cimMessage;     left->cimMessage = right->cimMessage;
 } }
Line 366 
Line 328 
  
         if (rep->cimMessage == String::EMPTY)         if (rep->cimMessage == String::EMPTY)
         {         {
             return _makeCIMExceptionDescription(rep->code,          return _makeCIMExceptionDescription(
                                                                                 getMessage(),              rep->code, getMessage(), rep->contentLanguages);
                                                                                 rep->contentLanguages);  
         }         }
         else         else
         {         {
                 return _makeCIMExceptionDescription(rep->cimMessage,          return _makeCIMExceptionDescription(rep->cimMessage, getMessage());
                                                                                         getMessage());  
         }         }
   
 #endif #endif
 } }
  
Line 429 
Line 388 
     return rep->contentLanguages;     return rep->contentLanguages;
 } }
  
   //==============================================================================
   //
   // NullPointer
   //
   //==============================================================================
   
   NullPointer::NullPointer()
       : Exception(MessageLoaderParms(
             NullPointer::KEY,
             NullPointer::MSG))
   {
   }
   
   NullPointer::~NullPointer()
   {
   }
   
   //==============================================================================
   //
   // UndeclaredQualifier
   //
   //==============================================================================
   
   UndeclaredQualifier::UndeclaredQualifier(const String& qualifierName)
       : Exception(MessageLoaderParms(
             UndeclaredQualifier::KEY,
             UndeclaredQualifier::MSG,
             qualifierName))
   {
   }
   
   UndeclaredQualifier::~UndeclaredQualifier()
   {
   }
   
   //==============================================================================
   //
   // BadQualifierScope
   //
   //==============================================================================
   
   BadQualifierScope::BadQualifierScope(
       const String& qualifierName,
       const String& scopeString)
       : Exception(MessageLoaderParms(KEY, MSG, qualifierName, scopeString))
   {
   }
   
   BadQualifierScope::~BadQualifierScope()
   {
   }
   
   //==============================================================================
   //
   // BadQualifierOverride
   //
   //==============================================================================
   
   BadQualifierOverride::BadQualifierOverride(const String& qualifierName)
       : Exception(MessageLoaderParms(
             BadQualifierOverride::KEY,
             BadQualifierOverride::MSG,
             qualifierName))
   {
   }
   
   BadQualifierOverride::~BadQualifierOverride()
   {
   }
   
   //==============================================================================
   //
   // BadQualifierType
   //
   //==============================================================================
   
   BadQualifierType::BadQualifierType(const String& qualifierName)
       : Exception(MessageLoaderParms(KEY, MSG, qualifierName))
   {
   }
   
   BadQualifierType::~BadQualifierType()
   {
   }
   
   //==============================================================================
   //
   // InstantiatedAbstractClass
   //
   //==============================================================================
   
   InstantiatedAbstractClass::InstantiatedAbstractClass(const String& className)
       : Exception(MessageLoaderParms(
             InstantiatedAbstractClass::KEY,
             InstantiatedAbstractClass::MSG,
             className))
   {
   }
   
   InstantiatedAbstractClass::~InstantiatedAbstractClass()
   {
   }
   
   //==============================================================================
   //
   // NoSuchProperty
   //
   //==============================================================================
   
   NoSuchProperty::NoSuchProperty(const String& propertyName)
       : Exception(MessageLoaderParms(
             NoSuchProperty::KEY,
             NoSuchProperty::MSG,
             propertyName))
   {
   }
   
   NoSuchProperty::~NoSuchProperty()
   {
   }
   
   //==============================================================================
   //
   // NoSuchFile
   //
   //==============================================================================
   
   NoSuchFile::NoSuchFile(const String& fileName)
       : Exception(MessageLoaderParms(
             NoSuchFile::KEY,
             NoSuchFile::MSG,
             fileName))
   {
   }
   
   NoSuchFile::~NoSuchFile()
   {
   }
   
   //==============================================================================
   //
   // FileNotReadable
   //
   //==============================================================================
   
   FileNotReadable::FileNotReadable(const String& fileName)
       : Exception(MessageLoaderParms(
             FileNotReadable::KEY,
             FileNotReadable::MSG,
             fileName))
   {
   }
   
   FileNotReadable::~FileNotReadable()
   {
   }
   
   //==============================================================================
   //
   // CannotRemoveDirectory
   //
   //==============================================================================
   
   CannotRemoveDirectory::CannotRemoveDirectory(const String& arg)
       : Exception(MessageLoaderParms(
             CannotRemoveDirectory::KEY,
             CannotRemoveDirectory::MSG,
             arg))
   {
   }
   
   CannotRemoveDirectory::~CannotRemoveDirectory()
   {
   }
   
   //==============================================================================
   //
   // CannotRemoveFile
   //
   //==============================================================================
   
   CannotRemoveFile::CannotRemoveFile(const String& path)
       : Exception(MessageLoaderParms(
             CannotRemoveFile::KEY,
             CannotRemoveFile::MSG,
             path))
   {
   }
   
   CannotRemoveFile::~CannotRemoveFile()
   {
   }
   
   //==============================================================================
   //
   // CannotRenameFile
   //
   //==============================================================================
   
   CannotRenameFile::CannotRenameFile(const String& path)
       : Exception(MessageLoaderParms(
             CannotRenameFile::KEY,
             CannotRenameFile::MSG,
             path))
   {
   }
   
   CannotRenameFile::~CannotRenameFile()
   {
   }
   
   //==============================================================================
   //
   // NoSuchDirectory
   //
   //==============================================================================
   
   NoSuchDirectory::NoSuchDirectory(const String& dirName)
       : Exception(MessageLoaderParms(
             NoSuchDirectory::KEY,
             NoSuchDirectory::MSG,
             dirName))
   {
   }
   
   NoSuchDirectory::~NoSuchDirectory()
   {
   }
   
   //==============================================================================
   //
   // CannotCreateDirectory
   //
   //==============================================================================
   
   CannotCreateDirectory::CannotCreateDirectory(const String& path)
       : Exception(MessageLoaderParms(
             CannotCreateDirectory::KEY,
             CannotCreateDirectory::MSG,
             path))
   {
   }
   
   CannotCreateDirectory::~CannotCreateDirectory()
   {
   }
   
   //==============================================================================
   //
   // CannotOpenFile
   //
   //==============================================================================
   
   CannotOpenFile::CannotOpenFile(const String& path)
       : Exception(MessageLoaderParms(
             CannotOpenFile::KEY,
             CannotOpenFile::MSG,
             path))
   {
   }
   
   CannotOpenFile::~CannotOpenFile()
   {
   }
   
   //==============================================================================
   //
   // NotImplemented
   //
   //==============================================================================
   
   NotImplemented::NotImplemented(const String& method)
       : Exception(MessageLoaderParms(
             NotImplemented::KEY,
             NotImplemented::MSG,
             method))
   {
   }
   
   NotImplemented::~NotImplemented()
   {
   }
   
   //==============================================================================
   //
   // StackUnderflow
   //
   //==============================================================================
   
   StackUnderflow::StackUnderflow()
       : Exception(MessageLoaderParms(StackUnderflow::KEY, StackUnderflow::MSG))
   {
   }
   
   StackUnderflow::~StackUnderflow()
   {
   }
   
   //==============================================================================
   //
   // StackOverflow
   //
   //==============================================================================
   
   StackOverflow::StackOverflow()
       : Exception(MessageLoaderParms(StackOverflow::KEY, StackOverflow::MSG))
   {
   }
   
   StackOverflow::~StackOverflow()
   {
   }
   
   //==============================================================================
   //
   // DynamicLoadFailed
   //
   //==============================================================================
   
   DynamicLoadFailed::DynamicLoadFailed(const String& path)
       : Exception(MessageLoaderParms(
             DynamicLoadFailed::KEY,
             DynamicLoadFailed::MSG,
             path))
   {
   }
   
   DynamicLoadFailed::~DynamicLoadFailed()
   {
   }
   
   //==============================================================================
   //
   // DynamicLookupFailed
   //
   //==============================================================================
   
   DynamicLookupFailed::DynamicLookupFailed(const String& symbol)
       : Exception(MessageLoaderParms(
             DynamicLookupFailed::KEY,
             DynamicLookupFailed::MSG,
             symbol))
   {
   }
   
   DynamicLookupFailed::~DynamicLookupFailed()
   {
   }
   
   //==============================================================================
   //
   // CannotOpenDirectory
   //
   //==============================================================================
   
   CannotOpenDirectory::CannotOpenDirectory(const String& path)
       : Exception(MessageLoaderParms(
             CannotOpenDirectory::KEY,
             CannotOpenDirectory::MSG,
             path))
   {
   }
   
   CannotOpenDirectory::~CannotOpenDirectory()
   {
   }
   
   //==============================================================================
   //
   // ParseError
   //
   //==============================================================================
   
   ParseError::ParseError(const String& message)
       : Exception(MessageLoaderParms(
             ParseError::KEY,
             ParseError::MSG,
             message))
   {
   }
   
   ParseError::~ParseError()
   {
   }
   
   //==============================================================================
   //
   // MissingNullTerminator
   //
   //==============================================================================
   
   MissingNullTerminator::MissingNullTerminator()
       : Exception(MessageLoaderParms(
             MissingNullTerminator::KEY,
             MissingNullTerminator::MSG))
   {
   }
   
   MissingNullTerminator::~MissingNullTerminator()
   {
   }
   
   //==============================================================================
   //
   // MalformedLanguageHeader
   //
   //==============================================================================
   
   MalformedLanguageHeader::MalformedLanguageHeader(const String& error)
       : Exception(MessageLoaderParms(
             MalformedLanguageHeader::KEY,
             MalformedLanguageHeader::MSG,
             error))
   {
   }
   
   MalformedLanguageHeader::~MalformedLanguageHeader()
   {
   }
   
   //==============================================================================
   //
   // InvalidAcceptLanguageHeader
   //
   //==============================================================================
   
   InvalidAcceptLanguageHeader::InvalidAcceptLanguageHeader(const String& error)
       : Exception(MessageLoaderParms(
             InvalidAcceptLanguageHeader::KEY,
             InvalidAcceptLanguageHeader::MSG,
             error))
   {
   }
   
   InvalidAcceptLanguageHeader::~InvalidAcceptLanguageHeader()
   {
   }
   
   //==============================================================================
   //
   // InvalidContentLanguageHeader
   //
   //==============================================================================
   
   InvalidContentLanguageHeader::InvalidContentLanguageHeader(const String& error)
       : Exception(MessageLoaderParms(
             InvalidContentLanguageHeader::KEY,
             InvalidContentLanguageHeader::MSG,
             error))
   {
   }
   
   InvalidContentLanguageHeader::~InvalidContentLanguageHeader()
   {
   }
   
   //==============================================================================
   //
   // InvalidAuthHeader
   //
   //==============================================================================
   
   InvalidAuthHeader::InvalidAuthHeader()
       : Exception(MessageLoaderParms(
             InvalidAuthHeader::KEY,
             InvalidAuthHeader::MSG))
   {
   }
   
   InvalidAuthHeader::~InvalidAuthHeader()
   {
   }
   
   //==============================================================================
   //
   // UnauthorizedAccess
   //
   //==============================================================================
   
   UnauthorizedAccess::UnauthorizedAccess()
       : Exception(MessageLoaderParms(
             UnauthorizedAccess::KEY,
             UnauthorizedAccess::MSG))
   {
   }
   
   UnauthorizedAccess::~UnauthorizedAccess()
   {
   }
   
   //==============================================================================
   //
   // IncompatibleTypesException
   //
   //==============================================================================
   
   IncompatibleTypesException::IncompatibleTypesException()
       : Exception("incompatible types")
   {
   }
   
   IncompatibleTypesException::~IncompatibleTypesException()
   {
   }
   
   //==============================================================================
   //
   // InternalSystemError
   //
   //==============================================================================
   
   InternalSystemError::InternalSystemError()
       : Exception(InternalSystemError::MSG)
   {
   }
   
   InternalSystemError::~InternalSystemError()
   {
   }
   
   void ThrowUninitializedObjectException()
   {
       throw UninitializedObjectException();
   }
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.17.18.1  
changed lines
  Added in v.1.29.4.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2