public class ThrowableError extends Throwable implements org.mule.runtime.api.message.Error
Throwable which also implements Error. It's used to set an {link Error} as the cause of
another. We need an adapter for this because the Error.getCause() method returns a Throwable.| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause() |
List<org.mule.runtime.api.message.Error> |
getChildErrors() |
String |
getDescription() |
String |
getDetailedDescription() |
org.mule.runtime.api.message.Message |
getErrorMessage() |
org.mule.runtime.api.message.ErrorType |
getErrorType() |
String |
getFailingComponent() |
static ThrowableError |
wrap(org.mule.runtime.api.message.Error error) |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static ThrowableError wrap(org.mule.runtime.api.message.Error error)
public String getDescription()
getDescription in interface org.mule.runtime.api.message.Errorpublic String getDetailedDescription()
getDetailedDescription in interface org.mule.runtime.api.message.Errorpublic String getFailingComponent()
getFailingComponent in interface org.mule.runtime.api.message.Errorpublic org.mule.runtime.api.message.ErrorType getErrorType()
getErrorType in interface org.mule.runtime.api.message.Errorpublic org.mule.runtime.api.message.Message getErrorMessage()
getErrorMessage in interface org.mule.runtime.api.message.Errorpublic List<org.mule.runtime.api.message.Error> getChildErrors()
getChildErrors in interface org.mule.runtime.api.message.ErrorCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.