| Package | Description |
|---|---|
| org.mule.runtime.api.meta.model | |
| org.mule.runtime.api.meta.model.declaration.fluent | |
| org.mule.runtime.api.meta.model.error |
| Modifier and Type | Method and Description |
|---|---|
Set<ErrorModel> |
ExtensionModel.getErrorModels() |
| Modifier and Type | Method and Description |
|---|---|
Set<ErrorModel> |
ComponentDeclaration.getErrorModels() |
Set<ErrorModel> |
ExtensionDeclaration.getErrorModels() |
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentDeclaration.addErrorModel(ErrorModel errorModel) |
void |
ExtensionDeclaration.addErrorModel(ErrorModel errorModel) |
ExtensionDeclarer |
ExtensionDeclarer.withErrorModel(ErrorModel errorModel)
Registers an
ErrorModel that could be thrown by one their
operations |
T |
ComponentDeclarer.withErrorModel(ErrorModel error)
Adds an
ErrorModel to indicate that the current operation could throw the added error. |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableErrorModel
Default and immutable implementation of
ErrorModel |
| Modifier and Type | Method and Description |
|---|---|
ErrorModel |
ErrorModelBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
Set<ErrorModel> |
ThrowsErrors.getErrorModels() |
Optional<ErrorModel> |
ErrorModel.getParent() |
Optional<ErrorModel> |
ImmutableErrorModel.getParent() |
| Modifier and Type | Method and Description |
|---|---|
ErrorModelBuilder |
ErrorModelBuilder.withParent(ErrorModel parent) |
| Constructor and Description |
|---|
ImmutableErrorModel(String type,
String namespace,
ErrorModel parent) |
Copyright © 2017 MuleSoft, Inc.. All rights reserved.