2.3.1. JPA Exceptions
The diagram above depicts the JPA exception architecture.
All exceptions are unchecked.
JPA uses standard exceptions where appropriate, most notably IllegalArgumentExceptions and IllegalStateExceptions.
The specification also provides a few JPA-specific exceptions in the jakarta.persistence package.
These exceptions should be self-explanatory.
See the Javadoc for additional details on JPA exceptions.
|
|
All exceptions thrown by OpenJPA implement org.apache.openjpa.util.ExceptionInfo to provide you with additional error information. |