Package org.teiid.jdbc
Class TeiidSQLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- org.teiid.jdbc.TeiidSQLException
-
- All Implemented Interfaces:
Serializable
,Iterable<Throwable>
- Direct Known Subclasses:
AsynchPositioningException
public class TeiidSQLException extends SQLException
Teiid specific SQLException- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TeiidSQLException
create(Throwable exception)
static TeiidSQLException
create(Throwable exception, String message)
String
getTeiidCode()
boolean
isSystemErrorState()
boolean
isUsageErrorState()
-
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
TeiidSQLException
public TeiidSQLException()
No-arg constructor required by Externalizable semantics.
-
TeiidSQLException
public TeiidSQLException(String reason)
-
-
Method Detail
-
create
public static TeiidSQLException create(Throwable exception)
-
create
public static TeiidSQLException create(Throwable exception, String message)
-
isSystemErrorState
public boolean isSystemErrorState()
-
isUsageErrorState
public boolean isUsageErrorState()
-
getTeiidCode
public String getTeiidCode()
-
-