Class APIPreconditionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.m0nk3y2k4.thetvdb.api.exception.APIRuntimeException
-
- com.github.m0nk3y2k4.thetvdb.internal.exception.APIPreconditionException
-
- All Implemented Interfaces:
Serializable
public class APIPreconditionException extends APIRuntimeException
Exceptions of this type represent a failed precondition check. Such checks are carried out throughout processing to check whether all the necessary prerequisites for proper processing of the task at hand have been met. Such exceptions typically indicate an implementation error rather than incorrect use of the API.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.github.m0nk3y2k4.thetvdb.api.exception.APIRuntimeException
API_PRECONDITION_ERROR
-
-
Constructor Summary
Constructors Constructor Description APIPreconditionException(String message)
Creates a new API precondition exception with the given error message.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-