com.ibm.as400.micro
Class JdbcMeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.sql.SQLException
|
+--com.ibm.as400.micro.JdbcMeException
- All Implemented Interfaces:
- java.io.Serializable
- public class JdbcMeException
- extends java.sql.SQLException
JdbcMeException extends the java.sql.SQLException
class as provided for a Java 2 Micro-Edition device.
Note: Since Java 2 Micro-Edition does not include java.sql,
the java.sql package is also part of this driver.
- See Also:
- Serialized Form
Constructor Summary |
JdbcMeException(java.lang.String reason,
java.lang.String sqlState)
Constructs an JdbcMeException object with a reason and SQLState. |
Method Summary |
java.lang.String |
toString()
Returns the string representation of this exception. |
Methods inherited from class java.sql.SQLException |
getErrorCode, getNextException, getSQLState, setNextException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JdbcMeException
public JdbcMeException(java.lang.String reason,
java.lang.String sqlState)
- Constructs an JdbcMeException object with a reason and SQLState.
- Parameters:
reason
- a description of the exception.sqlState
- an XOPEN code identifying the exception.
toString
public java.lang.String toString()
- Returns the string representation of this exception.
- Overrides:
toString
in class java.lang.Throwable
- Returns:
- the exception string.