Exemplo n.º 1
0
/// Win32

#if IS_UNIX
TSS_REGISTER_ERROR(eUnix(),               _T("Unix API failure.") )
#endif

/// FSServices

TSS_REGISTER_ERROR( eFSServices(),       _T("File system error.") )
TSS_REGISTER_ERROR( eFSServicesGeneric(),_T("File system error.") )


/// Serializer

TSS_REGISTER_ERROR( eSerializerUnknownType(),           _T("Unknown type encountered in file.\nFile format may not be valid for this platform.") )
TSS_REGISTER_ERROR( eSerializerInputStreamFmt(),        _T("Invalid input stream format.") )
TSS_REGISTER_ERROR( eSerializerOutputStreamFmt(),       _T("Invalid output stream format.") )
TSS_REGISTER_ERROR( eSerializerInputStremTypeArray(),   _T("A bad index was encountered in file.") )
TSS_REGISTER_ERROR( eSerializerArchive(),               _T("File read encountered an archive error.") )
TSS_REGISTER_ERROR( eSerializerVersionMismatch(),       _T("File version mismatch.") )
TSS_REGISTER_ERROR( eSerializerEncryption(),            _T("File encryption error.") )
TSS_REGISTER_ERROR( eSerializer(),                      _T("File format error.") )


/// Command Line

TSS_REGISTER_ERROR( eCmdLine(),             _T("Command line parsing error.") )
TSS_REGISTER_ERROR( eCmdLineInvalidArg(),   _T("Invalid argument passed on command line.") )
TSS_REGISTER_ERROR( eCmdLineBadArgParam(),  _T("Incorrect number of parameters to a command line argument.") )
TSS_REGISTER_ERROR( eCmdLineBadParam(),     _T("Incorrect number of parameters on command line.") )
Exemplo n.º 2
0
TSS_REGISTER_ERROR(eFileRewind(), _T("File could not be rewound."))


/// General API failures
TSS_REGISTER_ERROR(eUnix(), _T("Unix API failure."))


/// FSServices

TSS_REGISTER_ERROR(eFSServices(), _T("File system error."))
TSS_REGISTER_ERROR(eFSServicesGeneric(), _T("File system error."))


/// Serializer

TSS_REGISTER_ERROR(eSerializerUnknownType(),
                   _T("Unknown type encountered in file.\nFile format may not be valid for this platform."))
TSS_REGISTER_ERROR(eSerializerInputStreamFmt(), _T("Invalid input stream format."))
TSS_REGISTER_ERROR(eSerializerOutputStreamFmt(), _T("Invalid output stream format."))
TSS_REGISTER_ERROR(eSerializerInputStremTypeArray(), _T("A bad index was encountered in file."))
TSS_REGISTER_ERROR(eSerializerArchive(), _T("File read encountered an archive error."))
TSS_REGISTER_ERROR(eSerializerVersionMismatch(), _T("File version mismatch."))
TSS_REGISTER_ERROR(eSerializerEncryption(), _T("File encryption error."))
TSS_REGISTER_ERROR(eSerializer(), _T("File format error."))


/// Command Line

TSS_REGISTER_ERROR(eCmdLine(), _T("Command line parsing error."))
TSS_REGISTER_ERROR(eCmdLineInvalidArg(), _T("Invalid argument passed on command line."))
TSS_REGISTER_ERROR(eCmdLineBadArgParam(), _T("Incorrect number of parameters to a command line argument."))