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.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
-
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.String
body()
java.lang.String
getBody()
Deprecated.replaced bybody()
int
getStatusCode()
Deprecated.replaced bystatusCode()
int
statusCode()
-
-
-
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
-
-