Package yams.exceptions
Class MotorNotPresentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
yams.exceptions.MotorNotPresentException
- All Implemented Interfaces:
Serializable
Custom exception for when there is no motor in the mechanism.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMotorNotPresentException(String mechanismType) CreateRuntimeExceptionforSmartMechanism -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MotorNotPresentException
CreateRuntimeExceptionforSmartMechanism- Parameters:
mechanismType- Name of the mechanism
-