Package spark

Class HaltException

  • All Implemented Interfaces:
    java.io.Serializable

    public class HaltException
    extends java.lang.RuntimeException
    Exception used for stopping the execution
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String body  
      private static long serialVersionUID  
      private int statusCode  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String body()  
      java.lang.String getBody()
      Deprecated.
      replaced by body()
      int getStatusCode()
      Deprecated.
      replaced by statusCode()
      int statusCode()  
      • 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
    • Field Detail

      • statusCode

        private int statusCode
      • body

        private java.lang.String body
    • Constructor Detail

      • HaltException

        HaltException()
      • HaltException

        HaltException​(int statusCode)
      • HaltException

        HaltException​(java.lang.String body)
      • HaltException

        HaltException​(int statusCode,
                      java.lang.String body)
    • Method Detail

      • getStatusCode

        public int getStatusCode()
        Deprecated.
        replaced by statusCode()
        Returns:
        the statusCode
      • statusCode

        public int statusCode()
        Returns:
        the statusCode
      • getBody

        public java.lang.String getBody()
        Deprecated.
        replaced by body()
        Returns:
        the body
      • body

        public java.lang.String body()
        Returns:
        the body