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:
java.io.Serializable
public class CommandReadFailedException extends java.lang.RuntimeException
Exception thrown when a command fails to read.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommandReadFailedException()
Simple constructor.CommandReadFailedException(java.lang.String msg)
Constructor to create exception with a message.CommandReadFailedException(java.lang.String msg, java.lang.Throwable cause)
Constructor to create exception to wrap another exception and pass a message.CommandReadFailedException(java.lang.Throwable cause)
Constructor to create exception to wrap another exception.
-
-
-
Constructor Detail
-
CommandReadFailedException
public CommandReadFailedException()
Simple constructor.
-
CommandReadFailedException
public CommandReadFailedException(java.lang.String msg)
Constructor to create exception with a message.- Parameters:
msg
- a message to associate with the exception
-
CommandReadFailedException
public CommandReadFailedException(java.lang.Throwable cause)
Constructor to create exception to wrap another exception.- Parameters:
cause
- the real cause of the exception
-
CommandReadFailedException
public CommandReadFailedException(java.lang.String msg, java.lang.Throwable cause)
Constructor to create exception to wrap another exception and pass a message.- Parameters:
msg
- the messagecause
- the real cause of the exception
-
-