Class InterceptorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.hybris.platform.servicelayer.exceptions.BusinessException
-
- de.hybris.platform.servicelayer.interceptor.InterceptorException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AuditConfigValidationException
,CouponInterceptorException
,DeliveryModeInterceptorException
,MandatoryAttributesValidator.MissingMandatoryAttributesException
,MediaConversionModelValidationException
,UniqueAttributesInterceptor.UniqueAttributeInterceptorException
,ValidationConfigurationException
,ValidationViolationException
public class InterceptorException extends BusinessException
Exception which is thrown from anInterceptor
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InterceptorException(java.lang.String message)
InterceptorException(java.lang.String message, Interceptor inter)
InterceptorException(java.lang.String message, java.lang.Throwable cause)
InterceptorException(java.lang.String message, java.lang.Throwable cause, Interceptor inter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Interceptor
getInterceptor()
The origin of this exception.java.lang.String
getMessage()
void
setInterceptor(Interceptor interceptor)
-
-
-
Constructor Detail
-
InterceptorException
public InterceptorException(java.lang.String message)
-
InterceptorException
public InterceptorException(java.lang.String message, java.lang.Throwable cause)
-
InterceptorException
public InterceptorException(java.lang.String message, Interceptor inter)
-
InterceptorException
public InterceptorException(java.lang.String message, java.lang.Throwable cause, Interceptor inter)
-
-
Method Detail
-
getInterceptor
public Interceptor getInterceptor()
The origin of this exception. ATTENTION: may benull
-
setInterceptor
public void setInterceptor(Interceptor interceptor)
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
-