Class CompositePrimaryKeyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dimstyl.orm.exceptions.CompositePrimaryKeyException
All Implemented Interfaces:
Serializable

public class CompositePrimaryKeyException extends RuntimeException
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 Details

    • CompositePrimaryKeyException

      public CompositePrimaryKeyException(String message)
      Constructs a new CompositePrimaryKeyException with the specified detail message.
      Parameters:
      message - The detail message explaining the reason for the exception.