Package io.github.zhh2001.jp4.error
Class P4RuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.zhh2001.jp4.error.P4RuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
P4ConnectionException,P4OperationException,P4PipelineException
Base type for every exception raised by jp4. Catch this when you need a single
site to handle all jp4 failures regardless of category; otherwise prefer one of
the three subclasses (
P4ConnectionException, P4PipelineException,
P4OperationException).
All jp4 exceptions are unchecked.
- Since:
- 0.1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionP4RuntimeException(String message) P4RuntimeException(String message, Throwable 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
-
P4RuntimeException
-
P4RuntimeException
-