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

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

public class ClampMotorConfigurationError
extends HardwareError

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
ClampMotorConfigurationError()
          Creates a new instance of ClampMotorConfigurationError without detail message.
ClampMotorConfigurationError(String msg)
          Constructs an instance of ClampMotorConfigurationError with the specified detail message.
ClampMotorConfigurationError(String msg, String name)
          Constructs an instance of ClampMotorConfigurationError with the specified detail message and the name of the hardware.
ClampMotorConfigurationError(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

ClampMotorConfigurationError

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


ClampMotorConfigurationError

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

Parameters:
msg - the detail message.

ClampMotorConfigurationError

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

ClampMotorConfigurationError

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


Copyright © 2013 LSST. All Rights Reserved.