| Package | Description |
|---|---|
| stella.net.tpl | |
| stella.telescope |
| Modifier and Type | Class and Description |
|---|---|
class |
ErrAxisMechanicBlocked
Ignorable error.
|
class |
ErrAzimuthEtelerror
Undocumented error.
|
class |
ErrAzimuthEtelexecerror
Undocumented error.
|
class |
ErrAzimuthEtelwarning
Undocumented error.
|
class |
ErrAzmFault
Undocumented error.
|
class |
ErrBrakeClosedfromother
Undocumented error.
|
class |
ErrElevationEtelerror
Undocumented error.
|
class |
ErrElevationEtelwarning
Undocumented error.
|
class |
ErrGpsPositionlost
Ignorable error.
|
class |
ErrPower
Ignorable error.
|
class |
ErrUsvBatteryalarm
Ignorable error.
|
| Modifier and Type | Method and Description |
|---|---|
private static TsiError |
TsiError.createTsiError(String err,
String det,
int lev,
String comp)
Try to crete a customized error, if the error name matches a known class
name or produce a standard error.
|
static TsiError |
TsiError.deprecated(String read)
Parses the old error format, where the level is a single-letter in
and the component is within |
static TsiError |
TsiError.parse(String read)
Parses a TsiError from a string formatted according to:
error|detail|level|comp
like
ERR_USV_BatteryAlarm|USV\\| Alarm|4|CABINET The separator
char is '|'. |
| Modifier and Type | Method and Description |
|---|---|
Collection<TsiError> |
PilarDriver.getErrors()
Gets the current errors at the telescope.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TsiErrorPolicy.getAccumulateCount(TsiError tsi)
Returns the number of error occurences for that the accumulation span has
to be checked.
|
int |
TsiError.DefaultErrorPolicy.getAccumulateCount(TsiError panic)
Per default, the level of the error determines the reset cumulation:
once for panic, 3 for error, 10 for warning and unlimited for info.
|
long |
TsiErrorPolicy.getAccumulateSpan(TsiError tsi)
Returns the maximum time span allowed for the occurence of
TsiErrorPolicy.getAccumulateCount(stella.net.tpl.TsiError) errors. |
long |
TsiError.DefaultErrorPolicy.getAccumulateSpan(TsiError panic)
Per default, the level of the error determines the cumulation span
time, this is the minimum allowed time span for the accumulation
error count.
|
long |
TsiErrorPolicy.getResetLag(TsiError tsi)
Returns the minimum time that must pass between clearing of errors.
|
long |
TsiError.DefaultErrorPolicy.getResetLag(TsiError panic)
Per default, the level of the error determines the reset interval:
once per week for panic, once per day for error, once per five min
for warning and none for info.
|
int |
TsiErrorPolicy.getResetMax(TsiError tsi)
Returns the maximum number of error of the specified type allowed
pending.
|
int |
TsiError.DefaultErrorPolicy.getResetMax(TsiError panic)
Per default, the level of the error determines the reset maximum: 3
for panic, 10 for error, 100 for warning and unlimited for info.
|
boolean |
TsiErrorPolicy.ignore(TsiError tsi)
Returns true, if this error can savly be ignored under the current
policy.
|
boolean |
TsiError.DefaultErrorPolicy.ignore(TsiError panic)
Errors that have only an INFO level are per default ignorable.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<String,Map<TsiError,Shelf<Date>>> |
OpenPilarSocket.errgroups
The collection of errors on each group.
|
| Modifier and Type | Method and Description |
|---|---|
private Set<TsiError> |
OpenPilarSocket.errList(Date cleared)
Returns the list of errors, ordered by severity, then component and name.
|
Collection<TsiError> |
OpenPilarSocket.getErrors()
Updates the error list the error list.
|
Collection<TsiError> |
Pilar3Socket.getErrors()
Reads the error list.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
OpenPilarSocket.checkForFatalErrors(Collection<Map<TsiError,Shelf<Date>>> errs,
Date cleared)
We go through a list of errors and see if a fatal condition occured from
the last error-clearing time provided.
|
private boolean |
OpenPilarSocket.checkForTrivialErrors(Collection<Map<TsiError,Shelf<Date>>> errs,
Date cleared)
We go through a collection of all errors and check, if all of them are
ignorable, INFOs or have a reset lag of zero.
|
private int |
OpenPilarSocket.countErrors(Collection<Map<TsiError,Shelf<Date>>> errs,
Date cleared)
We count the number of errors in all component groups.
|