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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.lsst.ccs.subsystems.fcs.errors.MismatchMotorConfigurationException
All Implemented Interfaces:
Serializable

public class MismatchMotorConfigurationException
extends Exception

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
MismatchMotorConfigurationException()
          Creates a new instance of MismatchMotorConfigurationException without detail message.
MismatchMotorConfigurationException(String msg)
          Constructs an instance of MismatchMotorConfigurationException with the specified detail message.
MismatchMotorConfigurationException(String msg, int motorType, int continuousCurrentLimit, int maxSpeedInCurrentMode, int thermalTimeConstantWinding, int outputCurrentLimit, int polePairNumber)
          Constructs an instance of MismatchMotorConfigurationException 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

MismatchMotorConfigurationException

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


MismatchMotorConfigurationException

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

Parameters:
msg - the detail message.

MismatchMotorConfigurationException

public MismatchMotorConfigurationException(String msg,
                                           int motorType,
                                           int continuousCurrentLimit,
                                           int maxSpeedInCurrentMode,
                                           int thermalTimeConstantWinding,
                                           int outputCurrentLimit,
                                           int polePairNumber)
Constructs an instance of MismatchMotorConfigurationException 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 Throwable


Copyright © 2012 LSST. All Rights Reserved.