Package org.jbake.app

Class JBakeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class JBakeException
    extends java.lang.RuntimeException
    This runtime exception is thrown by JBake API to indicate an processing error.

    It always contains an error message and if available the cause.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getExit()  
      • 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

      • JBakeException

        public JBakeException​(SystemExit exit,
                              java.lang.String message,
                              java.lang.Throwable cause)
        Parameters:
        message - The error message.
        cause - The causing exception or null if no cause available.
      • JBakeException

        public JBakeException​(SystemExit exit,
                              java.lang.String message)
    • Method Detail

      • getExit

        public int getExit()