Package spark

Class HaltException

All Implemented Interfaces:
Serializable

public class HaltException extends RuntimeException
Exception used for stopping the execution
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • statusCode

      private int statusCode
    • body

      private String body
  • Constructor Details

    • HaltException

      HaltException()
    • HaltException

      HaltException(int statusCode)
    • HaltException

      HaltException(String body)
    • HaltException

      HaltException(int statusCode, String body)
  • Method Details

    • getStatusCode

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

      public int statusCode()
      Returns:
      the statusCode
    • getBody

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

      public String body()
      Returns:
      the body