Class CompositePrimaryKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dimstyl.orm.exceptions.CompositePrimaryKeyException
- All Implemented Interfaces:
Serializable
Exception thrown when a composite primary key is detected in an entity.
This exception is used to indicate that an entity has multiple fields marked as primary keys, which is not supported by the ORM framework.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompositePrimaryKeyException
(String message) Constructs a newCompositePrimaryKeyException
with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CompositePrimaryKeyException
Constructs a newCompositePrimaryKeyException
with the specified detail message.- Parameters:
message
- The detail message explaining the reason for the exception.
-