@Experimental @MinMuleVersion(value="4.4") 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.| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_FAILURE
Indicates that a connection couldn't be established
|
static String |
INVALID_LOCATION
Indicates that Sample Data resolution was attempted on a
Location which doesn't exist |
static String |
INVALID_TARGET_EXTENSION
Indicates that Sample Data resolution was attempted on an unregistered Extension
|
static String |
MISSING_REQUIRED_PARAMETERS
Indicates that the Sample Data resolution was attempted but the underlying
SampleDataProvider has required parameters
which weren't supplied |
static String |
NO_DATA_AVAILABLE
Indicates that the
SampleDataProvider didn't return any information |
static String |
NOT_SUPPORTED
Indicates that Sample Data resolution was attempted on a component which doesn't support that capability
|
static String |
UNKNOWN
Signals an unexpected exception
|
| Constructor and Description |
|---|
SampleDataException(org.mule.runtime.api.i18n.I18nMessage message,
String failureCode) |
SampleDataException(org.mule.runtime.api.i18n.I18nMessage message,
String failureCode,
Throwable cause) |
SampleDataException(String message,
String failureCode) |
SampleDataException(String message,
String failureCode,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFailureCode() |
addInfo, appendMessage, equals, getDetailedMessage, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, isVerboseExceptions, prependMessage, refreshVerboseExceptions, setMessage, setMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String UNKNOWN
public static final String NO_DATA_AVAILABLE
SampleDataProvider didn't return any informationpublic static final String CONNECTION_FAILURE
public static final String INVALID_LOCATION
Location which doesn't existpublic static final String MISSING_REQUIRED_PARAMETERS
SampleDataProvider has required parameters
which weren't suppliedpublic static final String NOT_SUPPORTED
public static final String INVALID_TARGET_EXTENSION
public SampleDataException(org.mule.runtime.api.i18n.I18nMessage message,
String failureCode)
public String getFailureCode()
Copyright © 2022. All rights reserved.