Package org.pipservices3.commons.refer
Class ReferenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pipservices3.commons.errors.ApplicationException
org.pipservices3.commons.errors.InternalException
org.pipservices3.commons.refer.ReferenceException
- All Implemented Interfaces:
Serializable
Error when required component dependency cannot be found.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an error instance and assigns its values.ReferenceException
(Object locator) Creates an error instance and assigns its values.ReferenceException
(String correlationId, Object locator) Creates an error instance and assigns its values.ReferenceException
(String correlationId, String message) ReferenceException
(String correlationId, String code, String message) -
Method Summary
Methods inherited from class org.pipservices3.commons.errors.ApplicationException
getCategory, getCauseString, getCode, getCorrelationId, getDetails, getMessage, getStackTraceString, getStatus, setCategory, setCauseString, setCode, setCorrelationId, setDetails, setMessage, setStackTraceString, setStatus, withCause, withCode, withCorrelationId, withDetails, withStackTrace, withStatus, wrap, wrapException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReferenceException
public ReferenceException()Creates an error instance and assigns its values. -
ReferenceException
Creates an error instance and assigns its values.- Parameters:
locator
- the locator to find reference to dependent component.
-
ReferenceException
Creates an error instance and assigns its values.- Parameters:
correlationId
- (optional) a unique transaction id to trace execution through call chain.locator
- the locator to find reference to dependent component.
-
ReferenceException
-
ReferenceException
-