Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.jdeveloper.db
Class ConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.jdeveloper.db.ConnectionException
All Implemented Interfaces:
java.io.Serializable

public class ConnectionException
extends java.lang.Exception

Exception thrown by a Connections instance when there is an error creating a connection. Usually wraps an underlying exception (e.g. SQLException) that is the cause.

See Also:
Serialized Form

Constructor Summary
ConnectionException(java.lang.String msg)
          Creates a new ConnectionException without a cause.
ConnectionException(java.lang.String msg, java.lang.Throwable cause)
          Creates a new ConnectionException to wrap the given cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Constructor Detail

ConnectionException

public ConnectionException(java.lang.String msg)
Creates a new ConnectionException without a cause.


ConnectionException

public ConnectionException(java.lang.String msg,
                           java.lang.Throwable cause)
Creates a new ConnectionException to wrap the given cause.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.