public class SQLNestedException
extends java.sql.SQLException
Constructor and Description |
---|
SQLNestedException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a new
SQLNestedException with specified
detail message and nested Throwable . |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause() |
void |
printStackTrace(java.io.PrintStream s) |
void |
printStackTrace(java.io.PrintWriter s) |
getErrorCode, getNextException, getSQLState, iterator, setNextException
public SQLNestedException(java.lang.String msg, java.lang.Throwable cause)
SQLNestedException
with specified
detail message and nested Throwable
.msg
- the error messagecause
- the exception or error that caused this exception to be
thrownpublic java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
Copyright © 2001-2004 Apache Software Foundation. Documenation generated July 18 2016.