public class StopConditionException extends ConditionException
Modifier and Type | Field and Description |
---|---|
private static java.util.logging.Logger |
LOG
Logger
|
private static boolean |
logit
To log or not to log.
|
Constructor and Description |
---|
StopConditionException(java.lang.String message)
Constructor which accepts an error message.
|
StopConditionException(java.lang.String message,
int keycode)
Constructor which accepts an error message and the key code for the key
press that caused this condition.
|
StopConditionException(java.lang.String message,
java.lang.Throwable rootCause)
Constructor which accepts an error message and a root cause.
|
StopConditionException(java.lang.Throwable rootCause)
Constructor which accepts and wrappers a root cause.
|
Modifier and Type | Method and Description |
---|---|
private void |
tryLog(java.lang.String message,
java.lang.Throwable cause)
If logging is enabled, emit a log entry for this instance.
|
fillInStackTrace, getKeyCode
private static final java.util.logging.Logger LOG
private static final boolean logit
public StopConditionException(java.lang.String message)
message
- Error message.public StopConditionException(java.lang.String message, int keycode)
message
- Error message.keycode
- The key code of the key that caused this condition to be
raised.public StopConditionException(java.lang.String message, java.lang.Throwable rootCause)
message
- Error message.rootCause
- Exception which has been caught in the course of processing.public StopConditionException(java.lang.Throwable rootCause)
rootCause
- Exception which has been caught in the course of processing.