| genre | Test |
| status | stable |
| author | Wolf Spindler |
| package | MeVisLab/Standard |
| dll | MLDiagnosis |
| definition | mlDiagnosis.def |
| see also | BadModule, CoreControl, Console, MLLogFile, ModuleView, RuntimeView |
| keywords | testing, force, abort, assert, error, fatal, mlDebug, print, message, exit, debugging |
The module ErrorTest simulates many message and error types for testing purposes.
| Access NULL Address: Trigger | Execute throw: Trigger | Print std::cerr: Trigger |
| Error Message Code: Enum | Execute throw(ErrCode): Trigger | Print std::cout: Trigger |
| Error Message Text: String | Execute throw(Msg): Trigger | Print Warning: Trigger |
| Execute abort: Trigger | otherPrint: Trigger | |
| Execute assert: Trigger | Print Debug: Trigger | |
| Execute exit(0): Trigger | Print Error: Trigger | |
| Execute exit(1): Trigger | Print Fatal Error: Trigger | |
| Execute exit(ErrCode): Trigger | Print Information: Trigger |
If pressed, a std::cout message is being printed.
If pressed, a std::cerr message is being printed.
If pressed, an information message is being printed.
If pressed, an ML warning is being printed or executed.
If pressed, a fatal ML error is being printed or executed.
If pressed, the application is being terminated with exit(0).
If pressed, the application is being terminated with exit(1).
If pressed, the application is being terminated with exit(ErrCode).
If pressed, the application is being terminated with abort().
If pressed, the application is being terminated with assert(false).
If pressed, an NULL address access error is being forced.
If pressed, a throw(ErrCode) is being executed.
If pressed, a throw with a message string is being executed.
Defines the type of error message for generated errors.
Values:
| Title | Name |
|---|---|
| Ok | Ok |
| Unknown Exception Occured | UnknownExceptionOccured |
| Memory Allocation Failed | MemoryAllocationFailed |
| Module Input Images Disconnected | ModuleInputImagesDisconnected |
| Cyclic Image Connection | CyclicImageConnection |
| Bad Module Pointer | BadModulePointer |
| Bad Index Of Output Image | BadIndexOfOutputImage |
| Bad Field Pointer Or Name | BadFieldPointerOrName |
| Calculation Of Image Data Failed | CalculationOfImageDataFailed |
| Calculation Of Required Image Input Extension Failed | CalculationOfRequiredImageInputExtensionFailed |
| Calculation Of Image Properties Failed | CalculationOfImagePropertiesFailed |
| Input Image Index Is Invalid | InputImageIndexIsInvalid |
| Pointer To Input Image Is Invalid | PointerToInputImageIsInvalid |
| Bad Data Type | BadDataType |
| Programming Error | ProgrammingError |
| No Error Message | NoErrorMessage |
| Page Calculation Error In Module | PageCalculationErrorInModule |
| Property Calculation Error In Module | PropertyCalculationErrorInModule |
| Inbox Calculation Error In Module | InboxCalculationErrorInModule |
| Bad Parameter | BadParameter |
| Calculation Error | CalculationError |
| Bad Image Dimension | BadImageDimension |
| Invalid Recursion | InvalidRecursion |
| Library Load/init Failed | LibraryLoad/initFailed |
| File IOError | FileIOError |
| Error Due To Previous Error | ErrorDueToPreviousError |
| Bad Index | BadIndex |
| Out Of Range | OutOfRange |
| Missing Voxel Type Operations | MissingVoxelTypeOperations |
| Bad Field Type | BadFieldType |
| Bad Field Pointer Or Memory Allocation Failed | BadFieldPointerOrMemoryAllocationFailed |
| Field Creation Error Or Memory Allocation Failed | FieldCreationErrorOrMemoryAllocationFailed |
| Type Initialization Error | TypeInitializationError |
| Exception In New | ExceptionInNew |
| Exception In Delete | ExceptionInDelete |
| Table Full | TableFull |
| Error From External Library Or Application | ErrorFromExternalLibraryOrApplication |
| Bad Base Field Type | BadBaseFieldType |
| Bad Content In Base Field | BadContentInBaseField |
| Required Type Not Registered | RequiredTypeNotRegistered |
| Library Init Failed | LibraryInitFailed |
| Bad Pointer Or NULL | BadPointerOrNULL |
| Bad State | BadState |
| Too Many Pushes Or Adds | TooManyPushesOrAdds |
| Too Many Pops Or Removes | TooManyPopsOrRemoves |
| Stack Table Or Buffer Empty | StackTableOrBufferEmpty |
| Stack Table Or Buffer Not Empty | StackTableOrBufferNotEmpty |
| Element Not Found | ElementNotFound |
| Invalid File Name | InvalidFileName |
| Invalid File Descriptor | InvalidFileDescriptor |
| File Not Open | FileNotOpen |
| No Or Invalid Permissions | NoOrInvalidPermissions |
| Disk Or Resource Full | DiskOrResourceFull |
| File Or Data Structure Corrupted | FileOrDataStructureCorrupted |
| Invalid Version | InvalidVersion |
| Unknown Or Invalid Compression Scheme | UnknownOrInvalidCompressionScheme |
| Type Already Registered | TypeAlreadyRegistered |
| Type Is Abstract | TypeIsAbstract |
| Type Not Derived From Expected Parent Class | TypeNotDerivedFromExpectedParentClass |
| Operation Interrupted | OperationInterrupted |
| Bad Page Id | BadPageId |
| Out Of Ressources | OutOfRessources |
| Object Or File Exists | ObjectOrFileExists |
| Object Or File Does Not Exist | ObjectOrFileDoesNotExist |
| Deadlock Would Occur | DeadlockWouldOccur |
| Could Not Create Open Or Modify File | CouldNotCreateOpenOrModifyFile |
| Library Unload Error | LibraryUnloadError |
| Library Unload Exception | LibraryUnloadException |
| Not Supported On This System | NotSupportedOnThisSystem |
| Object Still Referenced | ObjectStillReferenced |