public class TeiidSQLException extends SQLException
Constructor and Description |
---|
TeiidSQLException()
No-arg constructor required by Externalizable semantics.
|
TeiidSQLException(String reason) |
TeiidSQLException(String reason,
String state) |
TeiidSQLException(Throwable ex,
String reason,
String sqlState,
int errorCode) |
Modifier and Type | Method and Description |
---|---|
static TeiidSQLException |
create(Throwable exception) |
static TeiidSQLException |
create(Throwable exception,
String message) |
String |
getTeiidCode() |
boolean |
isSystemErrorState() |
boolean |
isUsageErrorState() |
getErrorCode, getNextException, getSQLState, iterator, setNextException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public TeiidSQLException()
public TeiidSQLException(String reason)
public static TeiidSQLException create(Throwable exception)
public static TeiidSQLException create(Throwable exception, String message)
public boolean isSystemErrorState()
org.teiid.jdbc.api.SQLException#isSystemErrorState()
public boolean isUsageErrorState()
org.teiid.jdbc.api.SQLException#isUsageErrorState()
public String getTeiidCode()
Copyright © 2019. All rights reserved.