Class DecoratorContextErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.outboundservices.decorator.DecoratorContextErrorException
All Implemented Interfaces:
Serializable

public class DecoratorContextErrorException extends RuntimeException
Exception thrown when errors are present in the DecoratorContext
See Also:
  • Constructor Details

    • DecoratorContextErrorException

      public DecoratorContextErrorException(DecoratorContext context)
      Constructor for the exception.
      Parameters:
      context - which contains the errors.
  • Method Details

    • getContext

      public DecoratorContext getContext()
      Provides access to the context that generated the exception.
      Returns:
      context containing errors.
    • getErrors

      public Collection<String> getErrors()
      Retrieves errors, which prevented outbound request from processing.
      Returns:
      errors associated with the decorator context.
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable