Package org.opencms.main
Class CmsShellCommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opencms.main.CmsShellCommandException
- All Implemented Interfaces:
Serializable
Wrapper exception used to notify the shell that an error has occurred during execution of a shell command.
- See Also:
-
Constructor Summary
ConstructorDescriptionCmsShellCommandException
(boolean fromReport) Creates a new instance.Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if this exception was created because of a report error.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CmsShellCommandException
Creates a new instance.- Parameters:
fromReport
- true if this exception is being created because of a report error
-
CmsShellCommandException
Creates a new instance.- Parameters:
t
- the cause of this exception
-
-
Method Details
-
isFromReport
Returns true if this exception was created because of a report error.- Returns:
- true if this exception was created because of a report error
-