Class CompositeErrorTypeRepository

java.lang.Object
org.mule.runtime.ast.internal.error.CompositeErrorTypeRepository
All Implemented Interfaces:
org.mule.runtime.api.exception.ErrorTypeRepository

public final class CompositeErrorTypeRepository extends Object implements org.mule.runtime.api.exception.ErrorTypeRepository
This is the actual instance returned by ArtifactAst.getErrorTypeRepository() default implementation.
Since:
1.0
  • Constructor Details

    • CompositeErrorTypeRepository

      public CompositeErrorTypeRepository(List<org.mule.runtime.api.exception.ErrorTypeRepository> children)
  • Method Details

    • addErrorType

      public org.mule.runtime.api.message.ErrorType addErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeIdentifier, org.mule.runtime.api.message.ErrorType parentErrorType)
      Specified by:
      addErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepository
    • addInternalErrorType

      public org.mule.runtime.api.message.ErrorType addInternalErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeIdentifier, org.mule.runtime.api.message.ErrorType parentErrorType)
      Specified by:
      addInternalErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepository
    • lookupErrorType

      public Optional<org.mule.runtime.api.message.ErrorType> lookupErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeComponentIdentifier)
      Specified by:
      lookupErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepository
    • getErrorType

      public Optional<org.mule.runtime.api.message.ErrorType> getErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeIdentifier)
      Specified by:
      getErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepository
    • getErrorNamespaces

      public Collection<String> getErrorNamespaces()
      Specified by:
      getErrorNamespaces in interface org.mule.runtime.api.exception.ErrorTypeRepository
    • getAnyErrorType

      public org.mule.runtime.api.message.ErrorType getAnyErrorType()
      Specified by:
      getAnyErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepository
    • getSourceErrorType

      public org.mule.runtime.api.message.ErrorType getSourceErrorType()
      Specified by:
      getSourceErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepository
    • getSourceResponseErrorType

      public org.mule.runtime.api.message.ErrorType getSourceResponseErrorType()
      Specified by:
      getSourceResponseErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepository
    • getCriticalErrorType

      public org.mule.runtime.api.message.ErrorType getCriticalErrorType()
      Specified by:
      getCriticalErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepository
    • getErrorTypes

      public Set<org.mule.runtime.api.message.ErrorType> getErrorTypes()
      Specified by:
      getErrorTypes in interface org.mule.runtime.api.exception.ErrorTypeRepository
    • getInternalErrorTypes

      public Set<org.mule.runtime.api.message.ErrorType> getInternalErrorTypes()
      Specified by:
      getInternalErrorTypes in interface org.mule.runtime.api.exception.ErrorTypeRepository