Class ObjectDeletionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectAccessException
-
- com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectDeletionException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ObjectDeletePermissionException
public class ObjectDeletionException extends ObjectAccessException
Thrown, if an error occurred during the deletion of an object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectDeletionException(java.lang.String objectId)Creates a new instance using given object id in a predefined message template : "Object 'objectId' could not be deleted"ObjectDeletionException(java.lang.String objectId, java.lang.Throwable cause)Creates a new instance using given object id in a predefined message template.
-
-
-
Constructor Detail
-
ObjectDeletionException
public ObjectDeletionException(java.lang.String objectId, java.lang.Throwable cause)Creates a new instance using given object id in a predefined message template.- Parameters:
objectId- - string messagecause- root cause
-
ObjectDeletionException
public ObjectDeletionException(java.lang.String objectId)
Creates a new instance using given object id in a predefined message template : "Object 'objectId' could not be deleted"- Parameters:
objectId- - ID of the object that could not be deleted.
-
-