Class DecoratorContextErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.outboundservices.decorator.DecoratorContextErrorException
- All Implemented Interfaces:
Serializable
Exception thrown when errors are present in the
DecoratorContext- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the exception. -
Method Summary
Modifier and TypeMethodDescriptionProvides access to the context that generated the exception.Retrieves errors, which prevented outbound request from processing.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DecoratorContextErrorException
Constructor for the exception.- Parameters:
context- which contains the errors.
-
-
Method Details
-
getContext
Provides access to the context that generated the exception.- Returns:
- context containing errors.
-
getErrors
Retrieves errors, which prevented outbound request from processing.- Returns:
- errors associated with the decorator context.
-
getMessage
- Overrides:
getMessagein classThrowable
-