Class ValueHandlerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.cockpit.services.values.ValueHandlerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ValueHandlerNotPersistedException,ValueHandlerNotValidationFrameworkException,ValueHandlerPermissionException,ValueHandlerWorkflowException
Exception which can occur during loading or storing values.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValueHandlerException(String message, Throwable cause) Instantiates a new value handler exception.ValueHandlerException(String message, Throwable cause, Set<PropertyDescriptor> properties) Deprecated.since 6.3ValueHandlerException(String message, Set<PropertyDescriptor> properties) Deprecated.since 6.3ValueHandlerException(Throwable cause, Set<CockpitValidationDescriptor> properties) Instantiates a new value handler exception.ValueHandlerException(Set<CockpitValidationDescriptor> properties) Instantiates a new value handler exception. -
Method Summary
Modifier and TypeMethodDescriptionGets the properties.Deprecated.since 6.3, usegetProperties()insteadprotected voidsetProperties(Set<CockpitValidationDescriptor> properties) Instead of direct property access this setter was introduced.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValueHandlerException
Instantiates a new value handler exception.- Parameters:
properties- the properties
-
ValueHandlerException
Instantiates a new value handler exception.- Parameters:
message- the messagecause- the cause
-
ValueHandlerException
Instantiates a new value handler exception.- Parameters:
cause- the causeproperties- the properties
-
ValueHandlerException
Deprecated.since 6.3Instantiates a new value handler exception.- Parameters:
message- the messageproperties- the properties
-
ValueHandlerException
@Deprecated public ValueHandlerException(String message, Throwable cause, Set<PropertyDescriptor> properties) Deprecated.since 6.3Instantiates a new value handler exception.- Parameters:
message- the messagecause- the causeproperties- the properties
-
-
Method Details
-
getRelatedProperties
Deprecated.since 6.3, usegetProperties()insteadGets the related properties.- Returns:
- the related properties
-
getProperties
Gets the properties.- Returns:
- the properties
-
setProperties
Instead of direct property access this setter was introduced.- Throws:
IllegalArgumentException- when properties is null
-