Class LocalizedInterceptorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.servicelayer.exceptions.BusinessException
de.hybris.platform.servicelayer.interceptor.InterceptorException
de.hybris.platform.integrationservices.exception.LocalizedInterceptorException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CannotCreateIntegrationClientCredentialsDetailWithAdminException,CannotDeleteIntegrationObjectException
An exception with localized message that is thrown by an interceptor.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLocalizedInterceptorException(String message, String... parameters) -
Method Summary
Modifier and TypeMethodDescription@NotNull Object[]Returns parameters in the context of this exception.Methods inherited from class de.hybris.platform.servicelayer.interceptor.InterceptorException
getInterceptor, getMessage, setInterceptorMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LocalizedInterceptorException
- Parameters:
message- The error message of this exception. This message is assigned in exceptions that extend this one and is used to clarify its meaning.parameters- The parameters that are used for interpolation. The localized error messages returned by localization service may contain one or more placeholders and need to be evaluated with given parameters.
-
-
Method Details
-
getParameters
Returns parameters in the context of this exception. Each subclass can specify its own parameters that will be used for making localized messages.- Returns:
- parameters associated with this exception or an empty array, if there are no parameters.
-