com.jrockit.mc.rjmx
Class ConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.jrockit.mc.rjmx.ConnectionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConnectionSecurityException

public class ConnectionException
extends java.io.IOException

This exception is thrown when an IO related problem occurs.

See Also:
Serialized Form

Constructor Summary
ConnectionException(IConnectionDescriptor descriptor, IConnectionHandle handle)
          Creates a connection exception
ConnectionException(IConnectionDescriptor descriptor, IConnectionHandle handle, java.lang.Exception cause)
          Creates a connection exception
ConnectionException(java.lang.String message, IConnectionDescriptor descriptor, IConnectionHandle handle, java.lang.Exception cause)
          Creates a connection exception
 
Method Summary
 IConnectionDescriptor getDescriptor()
          Return the IConnectionDescriptor
 IConnectionHandle gethandle()
          Return the IConnectionHandle
 
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(IConnectionDescriptor descriptor,
                           IConnectionHandle handle)
Creates a connection exception

Parameters:
descriptor - the IConnectionDescriptor the exception concerns
handle - the connection handle the exception concerns.

ConnectionException

public ConnectionException(IConnectionDescriptor descriptor,
                           IConnectionHandle handle,
                           java.lang.Exception cause)
Creates a connection exception

Parameters:
descriptor - the IConnectionDescriptor the exception concerns
handle - the connection handle the exception concerns.

ConnectionException

public ConnectionException(java.lang.String message,
                           IConnectionDescriptor descriptor,
                           IConnectionHandle handle,
                           java.lang.Exception cause)
Creates a connection exception

Parameters:
descriptor - the IConnectionDescriptor the exception concerns
handle - the connection handle the exception concerns.
Method Detail

getDescriptor

public IConnectionDescriptor getDescriptor()
Return the IConnectionDescriptor

Returns:
Connection descriptor

gethandle

public IConnectionHandle gethandle()
Return the IConnectionHandle

Returns:
the connection handle


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.