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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.lsst.ccs.subsystems.fcs.errors.HardwareException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CanOpenException, ClampMotorConfigurationException, ClampsOrLatchesDisagreeException, ErrorInBootingHardwareProcessException, HardwareConfigurationException, HardwareNotDetectedException, SensorValueOutOfRangeException, UnexpectedBootMessageReceivedException

public class HardwareException
extends Exception

A generic hardware error.

Author:
virieux
See Also:
Serialized Form

Constructor Summary
HardwareException()
           
HardwareException(String msg)
          Constructs an instance of HardwareError with the specified detail message.
HardwareException(String msg, String name)
          Constructs an instance of HardwareError with the specified detail message and the name of the hardware in error.
 
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

HardwareException

public HardwareException()

HardwareException

public HardwareException(String msg)
Constructs an instance of HardwareError with the specified detail message.

Parameters:
msg - the detail message.

HardwareException

public HardwareException(String msg,
                         String name)
Constructs an instance of HardwareError with the specified detail message and the name of the hardware in error.

Parameters:
msg -
name -
Method Detail

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2013 LSST. All Rights Reserved.