public class DefaultErrorTypeRepository extends Object implements org.mule.runtime.api.exception.ErrorTypeRepository
Error Types in a mule artifact.
Only one instance of ErrorType must exists describing the same combination of error identifier and namespace.| Constructor and Description |
|---|
DefaultErrorTypeRepository() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.message.ErrorType |
addErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeIdentifier,
org.mule.runtime.api.message.ErrorType parentErrorType) |
org.mule.runtime.api.message.ErrorType |
addInternalErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeIdentifier,
org.mule.runtime.api.message.ErrorType parentErrorType) |
org.mule.runtime.api.message.ErrorType |
getAnyErrorType() |
org.mule.runtime.api.message.ErrorType |
getCriticalErrorType() |
Collection<String> |
getErrorNamespaces() |
Optional<org.mule.runtime.api.message.ErrorType> |
getErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeIdentifier) |
Set<org.mule.runtime.api.message.ErrorType> |
getErrorTypes() |
Set<org.mule.runtime.api.message.ErrorType> |
getInternalErrorTypes() |
org.mule.runtime.api.message.ErrorType |
getSourceErrorType() |
org.mule.runtime.api.message.ErrorType |
getSourceResponseErrorType() |
Optional<org.mule.runtime.api.message.ErrorType> |
lookupErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeComponentIdentifier) |
public org.mule.runtime.api.message.ErrorType addErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeIdentifier,
org.mule.runtime.api.message.ErrorType parentErrorType)
addErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepositorypublic org.mule.runtime.api.message.ErrorType addInternalErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeIdentifier,
org.mule.runtime.api.message.ErrorType parentErrorType)
addInternalErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepositorypublic Optional<org.mule.runtime.api.message.ErrorType> lookupErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeComponentIdentifier)
lookupErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepositorypublic Optional<org.mule.runtime.api.message.ErrorType> getErrorType(org.mule.runtime.api.component.ComponentIdentifier errorTypeIdentifier)
getErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepositorypublic Collection<String> getErrorNamespaces()
getErrorNamespaces in interface org.mule.runtime.api.exception.ErrorTypeRepositorypublic org.mule.runtime.api.message.ErrorType getAnyErrorType()
getAnyErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepositorypublic org.mule.runtime.api.message.ErrorType getSourceErrorType()
getSourceErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepositorypublic org.mule.runtime.api.message.ErrorType getSourceResponseErrorType()
getSourceResponseErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepositorypublic org.mule.runtime.api.message.ErrorType getCriticalErrorType()
getCriticalErrorType in interface org.mule.runtime.api.exception.ErrorTypeRepositorypublic Set<org.mule.runtime.api.message.ErrorType> getErrorTypes()
getErrorTypes in interface org.mule.runtime.api.exception.ErrorTypeRepositorypublic Set<org.mule.runtime.api.message.ErrorType> getInternalErrorTypes()
getInternalErrorTypes in interface org.mule.runtime.api.exception.ErrorTypeRepositoryCopyright © 2025 MuleSoft, Inc.. All rights reserved.