com.ibm.as400.micro
Class JdbcMeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.sql.SQLException
              extended by com.ibm.as400.micro.JdbcMeException
All Implemented Interfaces:
Serializable, Iterable

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
Constructor and Description
JdbcMeException(String reason, String sqlState)
          Constructs an JdbcMeException object with a reason and SQLState.
 
Method Summary
Modifier and Type Method and Description
 String toString()
          Returns the string representation of this exception.
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, 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.

Overrides:
toString in class Throwable
Returns:
the exception string.