Package org.lsst.ccs.messaging
Class CommandRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.lsst.ccs.messaging.CommandRejectedException
- All Implemented Interfaces:
Serializable
Exception thrown by utility classes to indicate that a command has been
rejected. It internally contains The CommandNack that caused the rejection.
- Author:
- The LSST CCS Team
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommandRejectedException(CommandNack negativeAck) Construct a CommandRejectedException from the corresponding CommandNack. -
Method Summary
Modifier and TypeMethodDescriptionGet the CommandNack that explains the rejection of the command.toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CommandRejectedException
Construct a CommandRejectedException from the corresponding CommandNack.- Parameters:
negativeAck- The CommandNack that explains the rejection.
-
-
Method Details