Class ObjectCreationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectAccessException
-
- com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectCreationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ObjectCreatePermissionException
public class ObjectCreationException extends ObjectAccessException
Thrown, if an error occurred during the creation of an object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectCreationException(java.lang.String typeId)Creates a new instance using given type id in a predefined message template.ObjectCreationException(java.lang.String typeId, java.lang.Throwable cause)Creates a new instance using given type id in a predefined message template.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTypeId()
-
-
-
Constructor Detail
-
ObjectCreationException
public ObjectCreationException(java.lang.String typeId, java.lang.Throwable cause)Creates a new instance using given type id in a predefined message template.- Parameters:
typeId- id of objectcause- root cause
-
ObjectCreationException
public ObjectCreationException(java.lang.String typeId)
Creates a new instance using given type id in a predefined message template.- Parameters:
typeId- id of object
-
-