Class 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
    • 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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