Package org.pipservices3.commons.errors
Class InvocationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pipservices3.commons.errors.ApplicationException
org.pipservices3.commons.errors.InvocationException
- All Implemented Interfaces:
- Serializable
Errors returned by remote services or network during call attempts
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an error instance and assigns its values.InvocationException(String correlationId, String code, String message) Creates an error instance and assigns its values.
- 
Method SummaryMethods inherited from class org.pipservices3.commons.errors.ApplicationExceptiongetCategory, getCauseString, getCode, getCorrelationId, getDetails, getMessage, getStackTraceString, getStatus, setCategory, setCauseString, setCode, setCorrelationId, setDetails, setMessage, setStackTraceString, setStatus, withCause, withCode, withCorrelationId, withDetails, withStackTrace, withStatus, wrap, wrapExceptionMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
InvocationExceptionpublic InvocationException()Creates an error instance and assigns its values.- See Also:
 
- 
InvocationExceptionCreates an error instance and assigns its values.- Parameters:
- correlationId- (optional) a unique transaction id to trace execution through call chain.
- code- (optional) a unique error code. Default: "UNKNOWN"
- message- (optional) a human-readable description of the error.
- See Also:
 
 
-