public class MyJpaException
extends javax.persistence.PersistenceException
SQLExceptions will be wrapped in some form of
PersistenceException.| 构造器和说明 |
|---|
MyJpaException(String message)
Constructs a MyJpaException using the given exception message.
|
MyJpaException(String message,
Throwable cause)
Constructs a MyJpaException using the given message and underlying cause.
|
MyJpaException(Throwable cause)
Constructs a MyJpaException using the given message and underlying cause.
|
public MyJpaException(String message)
message - The message explaining the reason for the exceptionpublic MyJpaException(Throwable cause)
cause - The underlying cause.Copyright © 2019. All rights reserved.