|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.util.Error
public final class Error
Defines some methods to handle (i.e. throw exception) errors.
Method Summary | |
---|---|
static void |
bug(Logger logger)
Handles a bug: throws an InternalError and logs a
ERROR message. |
static void |
bug(Logger logger,
Throwable e)
Handles a bug: throws an InternalError and logs a
ERROR message. |
static void |
error(String message,
Logger logger)
Handles an error: throws an InternalError and logs a
ERROR message. |
static void |
error(String message,
Logger logger,
Throwable e)
Handles an error: throws an InternalError and logs a
ERROR message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void bug(Logger logger)
InternalError
and logs a
ERROR
message.
logger
- the logger to be used to log the error message.public static void bug(Logger logger, Throwable e)
InternalError
and logs a
ERROR
message.
logger
- the logger to be used to log the error message.e
- a throwable object.public static void error(String message, Logger logger, Throwable e)
InternalError
and logs a
ERROR
message.
message
- the message to display.logger
- the logger to be used to log the error message.e
- a throwable object.public static void error(String message, Logger logger)
InternalError
and logs a
ERROR
message.
message
- the message to display.logger
- the logger to be used to log the error message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |