com.onewebsql.util.jdbc
Class RuntimeSQLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.onewebsql.util.jdbc.RuntimeSQLException
All Implemented Interfaces:
Serializable

public class RuntimeSQLException
extends RuntimeException

Wraps SQLException into RuntimeException.

See Also:
Serialized Form

Constructor Summary
RuntimeSQLException(SQLException cause)
          Constructor.
 
Method Summary
 String getMessage()
           
 SQLException getSQLException()
          Returns the cause of the exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuntimeSQLException

public RuntimeSQLException(SQLException cause)
Constructor.

Parameters:
cause - cause of the exception
Method Detail

getSQLException

public SQLException getSQLException()
Returns the cause of the exception

Returns:
cause of the exception

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2011-2013 e-point SA. All Rights Reserved.