Method | Description | |
---|---|---|
emit_message ( int msg_level ) : void |
Conditionally emit a trace or warning message. The main reason for overriding this method would be to abort on warnings. This method calls |
|
error_exit ( ) : void |
Receives control for a fatal error. This method calls |
|
format_message ( ) : string |
Constructs a readable error message string. This method is called by |
|
jpeg_error_mgr ( ) : System |
Initializes a new instance of the jpeg_error_mgr class.
|
|
output_message ( ) : void |
Actual output of any JPEG message. Override this to send messages somewhere other than Console. Note that this method does not know how to generate a message, only where to send it. For extending a generation of messages see |
|
reset_error_mgr ( ) : void |
Resets error manager to initial state. This is called during compression startup to reset trace/error processing to default state. An application might possibly want to override this method if it has additional error processing state. |
Method | Description | |
---|---|---|
GetMessageText ( int code ) : string |
Gets the actual message texts. It may be useful for an application to add its own message texts that are handled by the same mechanism. You can override |
protected GetMessageText ( int code ) : string | ||
code | int | The message code. See |
return | string |
public emit_message ( int msg_level ) : void | ||
msg_level | int | The message severity level. /// Values are: /// -1: recoverable corrupt-data warning, may want to abort. /// 0: important advisory messages (always display to user). /// 1: first level of tracing detail. /// 2, 3, ...: successively more detailed tracing messages. /// |
return | void |