java.lang.Object
java.lang.Throwable
java.lang.Exception
org.mule.runtime.api.exception.MuleException
org.mule.sdk.api.data.sample.SampleDataException
- All Implemented Interfaces:
Serializable
@Experimental
@MinMuleVersion("4.4")
@DoNotEnforceMinMuleVersion
public class SampleDataException
extends org.mule.runtime.api.exception.MuleException
Exception to indicate than an error occurred fetching sample data through a SampleDataProvider.
NOTE: Experimental feature. Backwards compatibility not guaranteed.- Since:
- 1.4.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIndicates that a connection couldn't be establishedstatic final StringIndicates that Sample Data resolution was attempted on aLocationwhich doesn't existstatic final StringIndicates that Sample Data resolution was attempted on an unregistered Extensionstatic final StringIndicates that the Sample Data resolution was attempted but the underlyingSampleDataProviderhas required parameters which weren't suppliedstatic final StringIndicates that theSampleDataProviderdidn't return any informationstatic final StringIndicates that Sample Data resolution was attempted on a component which doesn't support that capabilitystatic final StringSignals an unexpected exceptionFields inherited from class org.mule.runtime.api.exception.MuleException
EXCEPTION_MESSAGE_DELIMITER, EXCEPTION_MESSAGE_SECTION_DELIMITER, INFO_ALREADY_LOGGED_KEY, INFO_ERROR_TYPE_KEY, INFO_LOCATION_KEY, INFO_SOURCE_XML_KEY, MISSING_DEFAULT_VALUE, MULE_VERBOSE_EXCEPTIONS, verboseExceptions -
Constructor Summary
ConstructorsConstructorDescriptionSampleDataException(String message, String failureCode) SampleDataException(String message, String failureCode, Throwable cause) SampleDataException(org.mule.runtime.api.i18n.I18nMessage message, String failureCode) SampleDataException(org.mule.runtime.api.i18n.I18nMessage message, String failureCode, Throwable cause) -
Method Summary
Methods inherited from class org.mule.runtime.api.exception.MuleException
addInfo, appendMessage, equals, getDetailedMessage, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, isVerboseExceptions, prependMessage, refreshVerboseExceptions, setMessage, setMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
UNKNOWN
Signals an unexpected exception- See Also:
-
NO_DATA_AVAILABLE
Indicates that theSampleDataProviderdidn't return any information- See Also:
-
CONNECTION_FAILURE
Indicates that a connection couldn't be established- See Also:
-
INVALID_LOCATION
Indicates that Sample Data resolution was attempted on aLocationwhich doesn't exist- See Also:
-
MISSING_REQUIRED_PARAMETERS
Indicates that the Sample Data resolution was attempted but the underlyingSampleDataProviderhas required parameters which weren't supplied- See Also:
-
NOT_SUPPORTED
Indicates that Sample Data resolution was attempted on a component which doesn't support that capability- See Also:
-
INVALID_TARGET_EXTENSION
Indicates that Sample Data resolution was attempted on an unregistered Extension- See Also:
-
-
Constructor Details
-
SampleDataException
-
SampleDataException
-
SampleDataException
-
SampleDataException
-
-
Method Details
-
getFailureCode
- Returns:
- The failure code of the error that produced the error
-