public class ImprovedSQLException extends RuntimeException
| Constructor and Description |
|---|
ImprovedSQLException(SQLException sqlException) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace() |
void |
forEach(Consumer<? super Throwable> action) |
Throwable |
getCause() |
int |
getErrorCode() |
String |
getLocalizedMessage() |
String |
getMessage() |
SQLException |
getNextException() |
String |
getSQLState() |
StackTraceElement[] |
getStackTrace() |
Throwable |
initCause(Throwable cause) |
Iterator<Throwable> |
iterator() |
void |
printStackTrace() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
void |
setNextException(SQLException ex) |
void |
setStackTrace(StackTraceElement[] stackTrace) |
Spliterator<Throwable> |
spliterator() |
String |
toString() |
addSuppressed, getSuppressedpublic ImprovedSQLException(SQLException sqlException)
public String getSQLState()
public int getErrorCode()
public SQLException getNextException()
public void setNextException(SQLException ex)
public String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter s)
printStackTrace in class Throwablepublic Throwable fillInStackTrace()
fillInStackTrace in class Throwablepublic StackTraceElement[] getStackTrace()
getStackTrace in class Throwablepublic void setStackTrace(StackTraceElement[] stackTrace)
setStackTrace in class Throwablepublic Spliterator<Throwable> spliterator()
Copyright © 2024. All rights reserved.