cz.cuni.utils.errorlog
Class ErrorMessage

java.lang.Object
  extended by cz.cuni.utils.errorlog.ErrorMessage

public class ErrorMessage
extends java.lang.Object

Just used for utils.math


Field Summary
protected static int MAX_SEVERITY
           
protected  java.lang.String message
           
protected static int MIN_SEVERITY
           
protected  int severity
           
static int SEVERITY_FIXED_ERROR
           
static int SEVERITY_INFO
           
static int SEVERITY_UNEXPECTED_ERROR
           
static int SEVERITY_UNKNOWN
           
static int SEVERITY_UNRECOVERED_ERROR
           
 
Constructor Summary
ErrorMessage(java.lang.String iMessage, int iSeverity)
           
 
Method Summary
 java.lang.String getMessage()
           
 int getSeverity()
           
static java.lang.String toString(int severity)
           
static java.lang.String toStringHuman(int severity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_SEVERITY

protected static final int MIN_SEVERITY
See Also:
Constant Field Values

SEVERITY_UNKNOWN

public static final int SEVERITY_UNKNOWN
See Also:
Constant Field Values

SEVERITY_INFO

public static final int SEVERITY_INFO
See Also:
Constant Field Values

SEVERITY_FIXED_ERROR

public static final int SEVERITY_FIXED_ERROR
See Also:
Constant Field Values

SEVERITY_UNRECOVERED_ERROR

public static final int SEVERITY_UNRECOVERED_ERROR
See Also:
Constant Field Values

SEVERITY_UNEXPECTED_ERROR

public static final int SEVERITY_UNEXPECTED_ERROR
See Also:
Constant Field Values

MAX_SEVERITY

protected static final int MAX_SEVERITY
See Also:
Constant Field Values

severity

protected int severity

message

protected java.lang.String message
Constructor Detail

ErrorMessage

public ErrorMessage(java.lang.String iMessage,
                    int iSeverity)
Method Detail

getMessage

public java.lang.String getMessage()

getSeverity

public int getSeverity()

toString

public static java.lang.String toString(int severity)

toStringHuman

public static java.lang.String toStringHuman(int severity)