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

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.HardwareConfigurationError
                  extended by org.lsst.ccs.subsystems.fcs.errors.NodeIDMismatchException
All Implemented Interfaces:
Serializable

public class NodeIDMismatchException
extends HardwareConfigurationError

This exception is thrown when the detected node ID of a piece of hardware identified by its serial number doesn't match the node ID that is in the configuration DB.

Author:
virieux
See Also:
Serialized Form

Constructor Summary
NodeIDMismatchException(CanOpenNode aNode, PieceOfHardware aPieceOfHardware)
          Constructs an instance of NodeIDMismatchException with the specified detail message.
NodeIDMismatchException(String msg, CanOpenNode aNode, PieceOfHardware aPieceOfHardware)
           
 
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

NodeIDMismatchException

public NodeIDMismatchException(CanOpenNode aNode,
                               PieceOfHardware aPieceOfHardware)
Constructs an instance of NodeIDMismatchException with the specified detail message.

Parameters:
msg - the detail message.

NodeIDMismatchException

public NodeIDMismatchException(String msg,
                               CanOpenNode aNode,
                               PieceOfHardware aPieceOfHardware)
Method Detail

toString

public String toString()
Overrides:
toString in class HardwareConfigurationError


Copyright © 2013 LSST. All Rights Reserved.