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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.lsst.ccs.subsystems.fcs.errors.HardwareException
              extended by org.lsst.ccs.subsystems.fcs.errors.CanOpenException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CanOpenCommunicationException, CanOpenDeviceException, CanOpenGenericException, CanOpenMotionException, CanOpenTemperatureException, CanOpenVoltageException, SDORequestException

public class CanOpenException
extends HardwareException

Throwned when we received an emergency message for a node.

Author:
virieux
See Also:
Serialized Form

Constructor Summary
CanOpenException()
          Creates a new instance of CanOpenError without detail message.
CanOpenException(String msg)
          Constructs an instance of CanOpenError with the specified detail message.
CanOpenException(String msg, String nodeID, String errCode)
           
 
Method Summary
 void setErrCode(String errCode)
           
 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

CanOpenException

public CanOpenException()
Creates a new instance of CanOpenError without detail message.


CanOpenException

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

Parameters:
msg - the detail message.

CanOpenException

public CanOpenException(String msg,
                        String nodeID,
                        String errCode)
Method Detail

setErrCode

public void setErrCode(String errCode)

toString

public String toString()
Overrides:
toString in class HardwareException


Copyright © 2013 LSST. All Rights Reserved.