anvil.core
Class Throwables.SQLError

java.lang.Object
  |
  +--anvil.core.Any
        |
        +--anvil.core.AnyAbstractClass
              |
              +--anvil.core.AnyThrowable
                    |
                    +--anvil.core.Throwables.SQLError
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable
Enclosing class:
Throwables

public static class Throwables.SQLError
extends AnyThrowable


Field Summary
static NativeClass _class
           
protected  java.sql.SQLException _exception
           
static java.lang.Object[] init
           
 
Fields inherited from class anvil.core.Any
ARRAY0, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, EMPTY_STRING, EMPTY_TUPLE, FALSE, INF, IS_ARRAY, IS_BINARY, IS_BOOLEAN, IS_BUFFER, IS_CLASS, IS_DOUBLE, IS_ENUMERATION, IS_INF, IS_INT, IS_LIST, IS_MAP, IS_NEG_INF, IS_NULL, IS_PATTERN, IS_RANGE, IS_STRING, IS_TUPLE, IS_UNDEFINED, MINUS_ONE, NAN, NEG_INF, NULL, ONE, p_compareTo, p_each, p_equals, p_pipe, p_select, THREE, TRUE, TWO, UNDEFINED, ZERO
 
Constructor Summary
Throwables.SQLError()
           
Throwables.SQLError(Context context, java.sql.SQLException exception)
           
 
Method Summary
 ClassType classOf()
          Returns the type of this Any.
 Any init(Context context, java.lang.String reason, java.lang.String state, int vendorCode)
           
 Any m_getErrorCode()
           
 Any m_getNextException(Context context)
           
 Any m_getSQLState()
           
 
Methods inherited from class anvil.core.AnyThrowable
_clone, _copy, _serialize, _unserialize, fillInStackTrace, fillInStackTrace, fillInStackTrace, getErrors, init, m_fill, m_fillInStackTrace, m_getErrors, m_getMessage, m_getStackTrace, m_toString, toObject, toString
 
Methods inherited from class anvil.core.AnyAbstractClass
doSerialize, isMutable, serialize, serializeObject, toBoolean, typeOf, unserialize, unserializeObject
 
Methods inherited from class anvil.core.Any
_invoke, _invoke, _invoke, _invoke, _invoke, _invoke, _wakeup, add, classNameOf, clone, coerce, compare, compareTo, concat, contains, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, create, decrease, deleteAttribute, deleteReference, divide, equals, execute, execute, execute, execute, execute, execute, getAttribute, getRef, getReference, has, increase, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, isArray, isBinary, isBoolean, isBuffer, isDefined, isDouble, isInstanceOf, isInt, isIterator, isList, isMap, isNull, isPattern, isRange, isRef, isSequence, isString, isTuple, isUndefined, iterator, m_clone, m_compareTo, m_copy, m_each, m_equals, m_hashCode, m_pipe, m_select, m_toBoolean, minus, modulo, multiply, not, plus, setAttribute, setRef, setReference, setReference, sizeOf, subtract, toAnvil, toAnvil, toAnyBoolean, toAnyDouble, toAnyInt, toAnyString, toArray, toBinary, toBuffer, toByte, toChar, toCode, toDouble, toInt, toList, toLong, toMap, toPattern, toRange, toTuple, type
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_exception

protected java.sql.SQLException _exception

init

public static java.lang.Object[] init

_class

public static final NativeClass _class
Constructor Detail

Throwables.SQLError

public Throwables.SQLError()

Throwables.SQLError

public Throwables.SQLError(Context context,
                           java.sql.SQLException exception)
Method Detail

init

public Any init(Context context,
                java.lang.String reason,
                java.lang.String state,
                int vendorCode)

classOf

public ClassType classOf()
Description copied from class: Any
Returns the type of this Any.

Overrides:
classOf in class AnyThrowable

m_getErrorCode

public Any m_getErrorCode()

m_getSQLState

public Any m_getSQLState()

m_getNextException

public Any m_getNextException(Context context)