Class ValueHandlerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.hybris.platform.cockpit.services.values.ValueHandlerException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ValueHandlerNotPersistedException
,ValueHandlerNotValidationFrameworkException
,ValueHandlerPermissionException
,ValueHandlerWorkflowException
public class ValueHandlerException extends java.lang.Exception
Exception which can occur during loading or storing values.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValueHandlerException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new value handler exception.ValueHandlerException(java.lang.String message, java.lang.Throwable cause, java.util.Set<PropertyDescriptor> properties)
Deprecated.since 6.3ValueHandlerException(java.lang.String message, java.util.Set<PropertyDescriptor> properties)
Deprecated.since 6.3ValueHandlerException(java.lang.Throwable cause, java.util.Set<CockpitValidationDescriptor> properties)
Instantiates a new value handler exception.ValueHandlerException(java.util.Set<CockpitValidationDescriptor> properties)
Instantiates a new value handler exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Set<CockpitValidationDescriptor>
getProperties()
Gets the properties.java.util.Set<PropertyDescriptor>
getRelatedProperties()
Deprecated.since 6.3, usegetProperties()
insteadprotected void
setProperties(java.util.Set<CockpitValidationDescriptor> properties)
Instead of direct property access this setter was introduced.
-
-
-
Constructor Detail
-
ValueHandlerException
public ValueHandlerException(java.util.Set<CockpitValidationDescriptor> properties)
Instantiates a new value handler exception.- Parameters:
properties
- the properties
-
ValueHandlerException
public ValueHandlerException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new value handler exception.- Parameters:
message
- the messagecause
- the cause
-
ValueHandlerException
public ValueHandlerException(java.lang.Throwable cause, java.util.Set<CockpitValidationDescriptor> properties)
Instantiates a new value handler exception.- Parameters:
cause
- the causeproperties
- the properties
-
ValueHandlerException
@Deprecated public ValueHandlerException(java.lang.String message, java.util.Set<PropertyDescriptor> properties)
Deprecated.since 6.3Instantiates a new value handler exception.- Parameters:
message
- the messageproperties
- the properties
-
ValueHandlerException
@Deprecated public ValueHandlerException(java.lang.String message, java.lang.Throwable cause, java.util.Set<PropertyDescriptor> properties)
Deprecated.since 6.3Instantiates a new value handler exception.- Parameters:
message
- the messagecause
- the causeproperties
- the properties
-
-
Method Detail
-
getRelatedProperties
@Deprecated public java.util.Set<PropertyDescriptor> getRelatedProperties()
Deprecated.since 6.3, usegetProperties()
insteadGets the related properties.- Returns:
- the related properties
-
getProperties
public java.util.Set<CockpitValidationDescriptor> getProperties()
Gets the properties.- Returns:
- the properties
-
setProperties
protected void setProperties(java.util.Set<CockpitValidationDescriptor> properties)
Instead of direct property access this setter was introduced.- Throws:
java.lang.IllegalArgumentException
- when properties is null
-
-