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:
java.io.Serializable
public class CmsShellCommandException extends java.lang.RuntimeException
Wrapper exception used to notify the shell that an error has occurred during execution of a shell command.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CmsShellCommandException(boolean fromReport)
Creates a new instance.CmsShellCommandException(java.lang.Throwable t)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isFromReport()
Returns true if this exception was created because of a report error.
-
-
-
Constructor Detail
-
CmsShellCommandException
public CmsShellCommandException(boolean fromReport)
Creates a new instance.- Parameters:
fromReport
- true if this exception is being created because of a report error
-
CmsShellCommandException
public CmsShellCommandException(java.lang.Throwable t)
Creates a new instance.- Parameters:
t
- the cause of this exception
-
-
Method Detail
-
isFromReport
public boolean 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
-
-