Jakarta Persistence (JPA) Class
jakarta.persistence.SchemaValidationException
java.lang.Object ∟java.lang.Throwable ∟java.lang.Exception ∟jakarta.persistence.SchemaValidationException
- Implemented Interfaces:
-
Serializable
Public Constructors
SchemaValidationException
(
String message, Exception... failures)
- Parameters:
-
failures- an array of exceptions, each representing a separate problem -
message- an overall message
- Since:
- Jakarta Persistence (JPA) 1.0
Public Instance Methods
Exception[]
getFailures
()
A persistence provider might choose to fail fast upon encountering a problem with one database object, in which case there is only one problem reported here. Alternatively, a provider might choose to continue validating the remaining database objects, in which case multiple problems might be reported, each as a separate exception instance.
- Since:
- Jakarta Persistence (JPA) 1.0
Additional JDK methods inherited from java.lang.Throwable
addSuppressed(Throwable),
fillInStackTrace(),
fillInStackTrace(int),
getCause(),
getLocalizedMessage(),
getMessage(),
getOurStackTrace(),
getStackTrace(),
getSuppressed(),
initCause(Throwable),
lockedPrintStackTrace(PrintStreamOrWriter),
printEnclosedStackTrace(PrintStreamOrWriter,StackTraceElement~,String,String,Set),
printStackTrace(),
printStackTrace(PrintStream),
printStackTrace(PrintStreamOrWriter),
printStackTrace(PrintWriter),
readObject(ObjectInputStream),
setCause(Throwable),
setStackTrace(StackTraceElement~),
toString(),
validateSuppressedExceptionsList(List),
writeObject(ObjectOutputStream)
Additional JDK methods inherited from java.lang.Object
clone(),
equals(Object),
finalize(),
getClass(),
hashCode(),
notify(),
notifyAll(),
wait(),
wait(long),
wait(long,int),
wait0(long)