| Constructor and Description |
|---|
ErrorsModelFactory(org.mule.runtime.extension.api.error.ErrorTypeDefinition<?>[] errorTypesEnum,
String extensionNamespace)
Creates a new instance of the factory
|
ErrorsModelFactory(String extensionNamespace)
Creates a new instance of the factory populated with Mule's errors as well as the extension default errors
|
| Modifier and Type | Method and Description |
|---|---|
Set<org.mule.runtime.api.meta.model.error.ErrorModel> |
getErrorModels() |
public ErrorsModelFactory(org.mule.runtime.extension.api.error.ErrorTypeDefinition<?>[] errorTypesEnum,
String extensionNamespace)
throws org.mule.runtime.extension.api.exception.IllegalModelDefinitionException
errorTypesEnum - an ErrorTypeDefinition implementation indicating all the errors from an extensionextensionNamespace - the namespace for the ErrorModel to be generatedorg.mule.runtime.extension.api.exception.IllegalModelDefinitionExceptionpublic ErrorsModelFactory(String extensionNamespace) throws org.mule.runtime.extension.api.exception.IllegalModelDefinitionException
extensionNamespace - the namespace for the ErrorModel to be generatedorg.mule.runtime.extension.api.exception.IllegalModelDefinitionExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.