Package com.spertus.jacquard.exceptions
Class ClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.spertus.jacquard.exceptions.ClientException
- All Implemented Interfaces:
AutograderException
,Serializable
Signals that an error occurred within the autograder due to misuse of the
API, such as calling
Autograder.init()
repeatedly or passing an
invalid argument.- See Also:
-
Constructor Summary
ConstructorDescriptionClientException
(String message) Constructs aClientException
with the specified message and cause.ClientException
(String message, Throwable cause) Constructs aClientException
with the specified message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClientException
Constructs aClientException
with the specified message and cause.- Parameters:
message
- an explanationcause
- the underlying cause
-
ClientException
Constructs aClientException
with the specified message and cause.- Parameters:
message
- an explanation
-