Package spark
Class HaltException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- spark.HaltException
-
- All Implemented Interfaces:
java.io.Serializable
public class HaltException extends java.lang.RuntimeExceptionException used for stopping the execution- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringbodyprivate static longserialVersionUIDprivate intstatusCode
-
Constructor Summary
Constructors Constructor Description HaltException()HaltException(int statusCode)HaltException(int statusCode, java.lang.String body)HaltException(java.lang.String body)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Stringbody()java.lang.StringgetBody()Deprecated.replaced bybody()intgetStatusCode()Deprecated.replaced bystatusCode()intstatusCode()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
statusCode
private int statusCode
-
body
private java.lang.String body
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
Deprecated.replaced bystatusCode()- Returns:
- the statusCode
-
statusCode
public int statusCode()
- Returns:
- the statusCode
-
getBody
public java.lang.String getBody()
Deprecated.replaced bybody()- Returns:
- the body
-
body
public java.lang.String body()
- Returns:
- the body
-
-