Package spark
Class HaltException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
spark.HaltException
- All Implemented Interfaces:
Serializable
Exception used for stopping the execution
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHaltException
(int statusCode) HaltException
(int statusCode, String body) HaltException
(String body) -
Method Summary
Modifier and TypeMethodDescriptionbody()
getBody()
Deprecated.int
Deprecated.replaced bystatusCode()
int
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
statusCode
private int statusCode -
body
-
-
Constructor Details
-
Method Details
-
getStatusCode
public int getStatusCode()Deprecated.replaced bystatusCode()
- Returns:
- the statusCode
-
statusCode
public int statusCode()- Returns:
- the statusCode
-
getBody
Deprecated.replaced bybody()
- Returns:
- the body
-
body
- Returns:
- the body
-
body()