com.metamatrix.jdbc
Class MMSQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.metamatrix.jdbc.MMSQLException
- All Implemented Interfaces:
- SQLException, java.io.Serializable, java.lang.Iterable<java.lang.Throwable>
public class MMSQLException
- extends java.sql.SQLException
- implements SQLException
All exceptions thrown by the MetaMatrix server are wrapped as MMSQLExceptions.
If there are multiple exceptions, they can be represented as a chain of
MMSQLExceptions. Thus a server side chain of exceptions map directly to a
corresponding chain of MMSQLExceptions. This class reads in MetaMatrix
exceptions, which are chained exceptions and constructs it's own chain of exceptions.
- See Also:
- Serialized Form
Constructor Summary |
MMSQLException()
No-arg constructor required by Externalizable semantics. |
Methods inherited from class java.sql.SQLException |
getErrorCode, getNextException, getSQLState, iterator, setNextException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MMSQLException
public MMSQLException()
- No-arg constructor required by Externalizable semantics.
create
public static MMSQLException create(java.lang.Throwable exception)
create
public static MMSQLException create(java.lang.Throwable exception,
java.lang.String message)
getCause
public java.lang.Throwable getCause()
- Overrides:
getCause
in class java.lang.Throwable
- Since:
- 4.3.2
- See Also:
Throwable.getCause()
isSystemErrorState
public boolean isSystemErrorState()
- Specified by:
isSystemErrorState
in interface SQLException
- Since:
- 4.3
- See Also:
SQLException.isSystemErrorState()
isUsageErrorState
public boolean isUsageErrorState()
- Specified by:
isUsageErrorState
in interface SQLException
- Since:
- 4.3
- See Also:
SQLException.isUsageErrorState()
Copyright © 2009. All Rights Reserved.