Class UnsupportedPropertyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.neotropic.kuwaiba.core.apis.persistence.exceptions.InventoryException
-
- org.neotropic.kuwaiba.core.apis.persistence.exceptions.UnsupportedPropertyException
-
- All Implemented Interfaces:
Serializable
public class UnsupportedPropertyException extends InventoryException
Thrown when a certain property (usually an attribute of an application or inventory object) is not known or currently supported.- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedPropertyException(String propertyName)
Use this constructor when referring to an attribute of an application object.UnsupportedPropertyException(String propertyName, String className)
Use this constructor when referring to an attribute of an inventory object.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnsupportedPropertyException
public UnsupportedPropertyException(String propertyName, String className)
Use this constructor when referring to an attribute of an inventory object.- Parameters:
propertyName
- The attribute/property name.className
- The class the property is supposed to belong to.
-
UnsupportedPropertyException
public UnsupportedPropertyException(String propertyName)
Use this constructor when referring to an attribute of an application object.- Parameters:
propertyName
- The property that should be supported or known, but it is not.
-
-