Class CreateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pipservices3.commons.errors.ApplicationException
org.pipservices3.commons.errors.InternalException
org.pipservices3.components.build.CreateException
- All Implemented Interfaces:
Serializable
public class CreateException
extends org.pipservices3.commons.errors.InternalException
Error raised when factory is not able to create requested component.
- See Also:
ApplicationException
,InternalException
, Serialized Form
-
Constructor Summary
Constructors Constructor Description CreateException()
Creates an error instance.CreateException(String correlationId, Object locator)
Creates an error instance and assigns its values.CreateException(String correlationId, String message)
Creates an error instance and assigns its values. -
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
-
CreateException
public CreateException()Creates an error instance. -
CreateException
Creates an error instance and assigns its values.- Parameters:
correlationId
- (optional) a unique transaction id to trace execution through call chain.locator
- locator of the component that cannot be created.
-
CreateException
Creates an error instance and assigns its values.- Parameters:
correlationId
- (optional) a unique transaction id to trace execution through call chain.message
- human-readable error.
-