Java org.springframework.dao DataAccessException fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.dao DataAccessException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.dao DataAccessException.

The text is from its open source code.

Subclass

org.springframework.dao.DataAccessException has subclasses.
Click this link to see all its subclasses.

Constructor

DataAccessException(String msg)
Constructor for DataAccessException.
DataAccessException(@Nullable String msg, @Nullable Throwable cause)
Constructor for DataAccessException.

Method

booleancontains(@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.
ThrowablefillInStackTrace()
Fills in the execution stack trace.
ThrowablegetCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
ClassgetClass()
Returns the runtime class of this Object .
StringgetLocalizedMessage()
Creates a localized description of this throwable.
StringgetMessage()
Return the detail message, including the message from the nested exception if there is one.
ThrowablegetMostSpecificCause()
Retrieve the most specific cause of this exception, that is, either the innermost cause (root cause) or this exception itself.
ThrowablegetRootCause()
Retrieve the innermost cause of this exception, if any.
voidprintStackTrace()
Prints this throwable and its backtrace to the standard error stream.
voidprintStackTrace(PrintStream s)
Prints this throwable and its backtrace to the specified print stream.
StringtoString()
Returns a short description of this throwable.