Package com.aspectran.shell.console
Class CommandReadFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aspectran.shell.console.CommandReadFailedException
- All Implemented Interfaces:
Serializable
Exception thrown when a command fails to read.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimple constructor.Constructor to create exception with a message.CommandReadFailedException
(String msg, Throwable cause) Constructor to create exception to wrap another exception and pass a message.Constructor to create exception to wrap another exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandReadFailedException
public CommandReadFailedException()Simple constructor. -
CommandReadFailedException
Constructor to create exception with a message.- Parameters:
msg
- a message to associate with the exception
-
CommandReadFailedException
Constructor to create exception to wrap another exception.- Parameters:
cause
- the real cause of the exception
-
CommandReadFailedException
Constructor to create exception to wrap another exception and pass a message.- Parameters:
msg
- the messagecause
- the real cause of the exception
-