org.lsst.ccs.subsystems.fcs.errors
Class SensorValueOutOfRangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.lsst.ccs.subsystems.fcs.errors.HardwareError
              extended by org.lsst.ccs.subsystems.fcs.errors.SensorValueOutOfRangeException
All Implemented Interfaces:
Serializable

public class SensorValueOutOfRangeException
extends HardwareError

This exception is thrown when a sensor real or simulated returns a current value out of range.

Author:
virieux
See Also:
Serialized Form

Constructor Summary
SensorValueOutOfRangeException(String msg, String name, int minValue, int maxValue, int readValue)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SensorValueOutOfRangeException

public SensorValueOutOfRangeException(String msg,
                                      String name,
                                      int minValue,
                                      int maxValue,
                                      int readValue)
Method Detail

toString

public String toString()
Overrides:
toString in class HardwareError


Copyright © 2013 LSST. All Rights Reserved.