Example usage for Java org.springframework.dao DataAccessException fields, constructors, methods, implement or subclass
The text is from its open source code.
DataAccessException(String msg) Constructor for DataAccessException. | |
DataAccessException(@Nullable String msg, @Nullable Throwable cause) Constructor for DataAccessException. |
boolean | contains(@Nullable Class> exType) Check whether this exception contains an exception of the given type: either it is of the given class itself or it contains a nested cause of the given type. |
Throwable | fillInStackTrace() Fills in the execution stack trace. |
Throwable | getCause() Returns the cause of this throwable or null if the cause is nonexistent or unknown. |
Class> | getClass() Returns the runtime class of this Object . |
String | getLocalizedMessage() Creates a localized description of this throwable. |
String | getMessage() Return the detail message, including the message from the nested exception if there is one. |
Throwable | getMostSpecificCause() Retrieve the most specific cause of this exception, that is, either the innermost cause (root cause) or this exception itself. |
Throwable | getRootCause() Retrieve the innermost cause of this exception, if any. |
void | printStackTrace() Prints this throwable and its backtrace to the standard error stream. |
void | printStackTrace(PrintStream s) Prints this throwable and its backtrace to the specified print stream. |
String | toString() Returns a short description of this throwable. |