PTP
Release 7.0

org.eclipse.ptp.rdt.sync.core.exceptions
Class MissingConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.ptp.rdt.sync.core.exceptions.MissingConnectionException
All Implemented Interfaces:
Serializable

public class MissingConnectionException
extends Exception

Exception for a missing remote connection. A specific exception is defined as this situation often requires special handling. Normally, it should be expected to happen on occasion, and the client should recover gracefully.

Since:
3.0
See Also:
Serialized Form

Constructor Summary
MissingConnectionException(String name)
          Create a new instance of a MissingConnectionException
MissingConnectionException(String name, String message)
          Create a new instance of a MissingConnectionException
 
Method Summary
 String getConnectionName()
          Get connection name
 
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

MissingConnectionException

public MissingConnectionException(String name)
Create a new instance of a MissingConnectionException

Parameters:
name - connection name

MissingConnectionException

public MissingConnectionException(String name,
                                  String message)
Create a new instance of a MissingConnectionException

Parameters:
name - connection name
message - exception message
Method Detail

getConnectionName

public String getConnectionName()
Get connection name

Returns:
connection name

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.