ErrorTest¶
Purpose¶
The module ErrorTest simulates many message and error types for testing purposes.
Windows¶
Default Panel¶
Output Fields¶
output0¶
- name: output0, type: Image¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Print std::cout¶
- name: stdCoutPrint, type: Trigger¶
When pressed, a
std::coutmessage is printed.
Print std::cerr¶
- name: stdCerrPrint, type: Trigger¶
When pressed, a
std::cerrmessage is printed.
Print Debug¶
- name: debugPrint, type: Trigger¶
When pressed, a debug message is printed.
Print Information¶
- name: informationPrint, type: Trigger¶
When pressed, an information message is printed.
Print Warning¶
- name: warningPrint, type: Trigger¶
When pressed, an ML warning is printed or executed.
Print Error¶
- name: errorPrint, type: Trigger¶
When pressed, an ML error is printed or executed.
Print Fatal Error¶
- name: fatalPrint, type: Trigger¶
When pressed, a fatal ML error is printed or executed.
Execute exit(0)¶
- name: exit0, type: Trigger¶
When pressed, the application is terminated with
exit(0).
Execute exit(1)¶
- name: exit1, type: Trigger¶
When pressed, the application is terminated with
exit(1).
Execute exit(ErrCode)¶
- name: exitWithCode, type: Trigger¶
When pressed, the application is terminated with
exit(ErrCode).
Execute abort¶
- name: abort, type: Trigger¶
When pressed, the application is terminated with
abort().
Execute assert¶
- name: assert, type: Trigger¶
When pressed, the application is terminated with
assert(false).
Execute throw¶
- name: executeThrow, type: Trigger¶
When pressed, a
throwis executed.
Execute throw(ErrCode)¶
- name: executeErrThrow, type: Trigger¶
When pressed, a
throw(ErrCode)is executed.
Execute throw(Msg)¶
- name: executeMsgThrow, type: Trigger¶
When pressed, a
throwwith a message string is executed.
Error Message Code¶
- name: errorMessageType, type: Enum, default: Ok¶
Defines the type of error message for generated errors.
Values:
Title |
Name |
|---|---|
Ok |
Ok |
Unknown Exception Occurred |
UnknownExceptionOccurred |
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 |
Request Outside Of Image |
RequestOutsideOfImage |
Defines a function in which the event shall be triggered.¶
- name: inFunctionToTrigger, type: Enum, default: handleNotification¶
Values:
Title |
Name |
|---|---|
handle Notification |
handleNotification |
calculate Output Sub Image |
calculateOutputSubImage |
Error Message Text¶
- name: errorMessageText, type: String, default: Default Message Text¶
Sets a message text for generated error messages.