stella.error
Class NoStarOnAcquire

java.lang.Object
  extended by java.util.EventObject
      extended by util.rmi.RmiEvent
          extended by stella.MessageEvent
              extended by stella.ErrorEvent
                  extended by stella.error.NoStarOnAcquire
All Implemented Interfaces:
Serializable, PickConnected

public class NoStarOnAcquire
extends ErrorEvent
implements PickConnected

An error event sent by the adapter if no star was found on the centering CCD. In most cases this indicates cloud cover, therefore the target should be aborted and no further notifications are planned. For the cases of a wrong input catalogue, a human is responsible.

This error does not require a target abort follow-up, because the target was not started. Nevertheless, it should be present in the <Abort> tag of any target that is an on-sky target.

See Also:
Serialized Form

Field Summary
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 static String TEXT
          The human-readable part of the error message.
 
Fields inherited from class stella.ErrorEvent
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_TIME
 
Fields inherited from class stella.MessageEvent
SEPCHAR
 
Fields inherited from class util.rmi.RmiEvent
localHost, sourceName
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NoStarOnAcquire(Object src)
          Constructs a software error.
 
Method Summary
 void setFailedTarget(String starname)
          Set the target name string.
 
Methods inherited from class stella.ErrorEvent
consume, createError, createError, createError, createError, createError, createStatus, createStatus, createStatus, extractClassName, extractFollowUp, extractPipe, getErrorClass, getFollowUp, getHuman, getLine, getSevereness, isConsumed, isPipe, isStatus, parseClassName, parseHeader, parseLine, setFollowUp, setHuman, setHuman, setPipe
 
Methods inherited from class stella.MessageEvent
checkType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toString
 
Methods inherited from class util.rmi.RmiEvent
getHost, getSourceName, setSourceName
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TEXT

private static final String TEXT
The human-readable part of the error message.

See Also:
Constant Field Values

SEVERENESS

private static final int SEVERENESS
The severness level (fatal error).

See Also:
Constant Field Values

FOLLOWUP

private static final String FOLLOWUP
The follow-up (shutdown).

See Also:
Constant Field Values

PIPING

private static final boolean PIPING
The pipe flag (false).

See Also:
Constant Field Values
Constructor Detail

NoStarOnAcquire

public NoStarOnAcquire(Object src)
Constructs a software error. Uses the SEVERENESS level, has a FOLLOWUP as a recovery strategy and does pipe.

Method Detail

setFailedTarget

public void setFailedTarget(String starname)
Set the target name string.