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
|
String |
toString() |
getErrorCode, getNextException, getSQLState, iterator, setNextException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public 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 © 2020 KawanSoft SAS