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

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.ClampMotorConfigurationException
All Implemented Interfaces:
Serializable

public class ClampMotorConfigurationException
extends HardwareException

This exception is throwned when the hardware configuration of a motor is not the same than the software configuration.

Author:
virieux
See Also:
Serialized Form

Constructor Summary
ClampMotorConfigurationException()
          Creates a new instance of ClampMotorConfigurationError without detail message.
ClampMotorConfigurationException(String msg)
          Constructs an instance of ClampMotorConfigurationError with the specified detail message.
ClampMotorConfigurationException(String msg, String name)
          Constructs an instance of ClampMotorConfigurationError with the specified detail message and the name of the hardware.
ClampMotorConfigurationException(String msg, String name, int motorType, int continuousCurrentLimit, int maxSpeedInCurrentMode, int thermalTimeConstantWinding, int outputCurrentLimit, int polePairNumber)
          Constructs an instance of ClampMotorConfigurationError with the specified detail message and the value read of the motor parameters.
 
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

ClampMotorConfigurationException

public ClampMotorConfigurationException()
Creates a new instance of ClampMotorConfigurationError without detail message.


ClampMotorConfigurationException

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

Parameters:
msg - the detail message.

ClampMotorConfigurationException

public ClampMotorConfigurationException(String msg,
                                        String name)
Constructs an instance of ClampMotorConfigurationError with the specified detail message and the name of the hardware.

Parameters:
msg - the detail message.
name - the hardware name.

ClampMotorConfigurationException

public ClampMotorConfigurationException(String msg,
                                        String name,
                                        int motorType,
                                        int continuousCurrentLimit,
                                        int maxSpeedInCurrentMode,
                                        int thermalTimeConstantWinding,
                                        int outputCurrentLimit,
                                        int polePairNumber)
Constructs an instance of ClampMotorConfigurationError with the specified detail message and the value read of the motor parameters.

Parameters:
msg - the detail message.
Method Detail

toString

public String toString()
Overrides:
toString in class HardwareException


Copyright © 2013 LSST. All Rights Reserved.