public class MissingParameter extends ErrorEvent
| Modifier and Type | Field and Description |
|---|---|
private String[] |
comment
The additional comments.
|
private static String |
FOLLOWUP
The follow-up (shutdown).
|
private static boolean |
PIPING
The pipe flag (false).
|
private static int |
SEVERENESS
The severness level (fatal error).
|
private String |
violate
The parameter name that is missing.
|
ABORT_EXPOSURE, ABORT_TARGET, ALARM_OFF, ALARM_ON, BAD_SEEING, BAD_WEATHER, CLEAR_TEL, CLOSE_COVER, CLOSE_ROOF, CLOSE_SHUTTER, CONT_TIME, ERROR_TOKEN, ERRORCOMBINE, ERRORPACKAGE, GOOD_WEATHER, HIGH_WIND, MAIL_HOME, MAIL_LOCAL, MOVE_HOME, MOVE_PARK, NONE, OPEN_COVER, OPEN_SHUTTER, PIPE, REACQUIRE, REPOSITION, RESEND_COMMAND, RESET_ADAPTER, RESET_CALIBRATION, RESET_CCD, RESET_ENV, RESET_ERRORS, RESET_SPEC, RESET_TEL, SHUT_DOWN, STATUS_TOKEN, STOP_TIMESEPCHARlocalHost, sourceNamesource| Constructor and Description |
|---|
MissingParameter(Object src)
Constructs a software error.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHuman()
Returns the human-readable part of the string.
|
String[] |
getLine()
Returns the command lines of the error.
|
String |
getViolate()
Returns the error-reasons as an integer.
|
boolean |
parseLine(String[] all)
Retrieves the command that could not be parsed and the time stamp of
this command out of the second command line.
|
void |
setViolate(String cause)
Sets the reason.
|
private void |
updateHuman()
Updates the human-readable part of the error event.
|
consume, createError, createError, createError, createError, createError, createStatus, createStatus, createStatus, extractClassName, extractFollowUp, extractPipe, getErrorClass, getFollowUp, getSevereness, isConsumed, isPipe, isStatus, parseClassName, parseHeader, setFollowUp, setHuman, setHuman, setPipecheckType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toSkippedString, toStringgetHost, getSourceName, setSourceNamegetSourceprivate static final int SEVERENESS
private static final String FOLLOWUP
private static final boolean PIPING
private String violate
private String[] comment
public MissingParameter(Object src)
SEVERENESS level,
has a FOLLOWUP as a recovery strategy an does not pipe.public boolean parseLine(String[] all)
parseLine in class ErrorEventpublic String[] getLine()
ErrorEventgetLine in class ErrorEventpublic String getHuman()
getHuman in class ErrorEventprivate void updateHuman()
ErrorEvent.setHuman(java.lang.String) with values constructed from the internal
variables.public String getViolate()
public void setViolate(String cause)