public class AceQLException extends SQLException
| Constructor and Description |
|---|
AceQLException(String reason,
int vendorCode,
Throwable cause,
String remoteStackTrace,
int httpStatusCode)
Builds an AceQLException that wraps/traps an Exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHttpStatusCode()
Returns the http status code associated to the Exception
|
String |
getRemoteStackTrace()
Returns the stack trace of the Exception thrown on server side
|
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AceQLException(String reason, int vendorCode, Throwable cause, String remoteStackTrace, int httpStatusCode)
reason - the error messagevendorCode - The error type:
cause - the wrapped/trapped ExceptionremoteStackTrace - the stack trace in case for remote ExceptionhttpStatusCode - the http status codepublic int getHttpStatusCode()
public String getRemoteStackTrace()
DB2 - Informix - Ingres - MySQL - Oracle Database - PostgreSQL - SQL Server - Sybase - Teradata
Copyright © 2017 KawanSoft SAS