com.ibm.as400.micro
Class JdbcMeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.sql.SQLException
              extended bycom.ibm.as400.micro.JdbcMeException
All Implemented Interfaces:
Serializable

public class JdbcMeException
extends 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(String reason, String sqlState)
          Constructs an JdbcMeException object with a reason and SQLState.
 
Method Summary
 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, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdbcMeException

public JdbcMeException(String reason,
                       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.
Method Detail

toString

public String toString()
Returns the string representation of this exception.

Returns:
the exception string.