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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.lsst.ccs.subsystems.fcs.errors.HardwareError
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CanOpenError, ClampMotorConfigurationError, ErrorInBootingHardwareProcess, HardwareConfigurationError, HardwareNotDetectedException, SensorValueOutOfRangeException, UnexpectedBootMessageReceived

public class HardwareError
extends Exception

A generic hardware error.

Author:
virieux
See Also:
Serialized Form

Constructor Summary
HardwareError()
           
HardwareError(String msg)
          Constructs an instance of HardwareError with the specified detail message.
HardwareError(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

HardwareError

public HardwareError()

HardwareError

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

Parameters:
msg - the detail message.

HardwareError

public HardwareError(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.