Package me.ahoo.cosid.accessor
Class MultipleIdNotSupportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
me.ahoo.cosid.CosIdException
me.ahoo.cosid.accessor.MultipleIdNotSupportException
- All Implemented Interfaces:
Serializable
Exception thrown when an entity has multiple @CosId fields.
CosId only supports a single ID field per entity.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMultipleIdNotSupportException(Class<?> declaringClass) Creates a new exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MultipleIdNotSupportException
Creates a new exception.- Parameters:
declaringClass- the class with multiple ID fields
-
-
Method Details
-
getDeclaringClass
Gets the declaring class.- Returns:
- the class
-