com.cisco.provisioning.cpe
Class PACEConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.cisco.provisioning.cpe.BaseRuntimeException
                  extended by com.cisco.provisioning.cpe.PACEConnectionException
All Implemented Interfaces:
Serializable

public class PACEConnectionException
extends BaseRuntimeException

This exception is thrown when getting an instance of PACEConnection through the PACEConnectionFactory. This exception will be thrown if there was a problem connecting such as an unknown RDU hostname or an invalid RDU port number to connect to.

See Also:
PACEConnection, PACEConnectionFactory, Serialized Form

Field Summary
static long serialVersionUID
          Serialization version UID constant for this class
 
Constructor Summary
PACEConnectionException()
          Constructor for an exception with no text message or nested exception.
PACEConnectionException(Exception nestedException)
          Constructor for an exception that contains a nested exception.
PACEConnectionException(Exception nestedException, String message)
          Constructor for an exception that contains a text message and a nested exception.
PACEConnectionException(String message)
          Constructor for an exception that contains a text message.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serialization version UID constant for this class

See Also:
Constant Field Values
Constructor Detail

PACEConnectionException

public PACEConnectionException()
Constructor for an exception with no text message or nested exception.


PACEConnectionException

public PACEConnectionException(Exception nestedException)
Constructor for an exception that contains a nested exception.

The message for this exception will be the result of toString() of the nestedException (as long as its not null).

Parameters:
nestedException - The exception this exception is explaining in more detail.

PACEConnectionException

public PACEConnectionException(String message)
Constructor for an exception that contains a text message.

Parameters:
message - the message to associate with this exception.

PACEConnectionException

public PACEConnectionException(Exception nestedException,
                               String message)
Constructor for an exception that contains a text message and a nested exception.

Parameters:
nestedException - the exception this exception is explaining in more detail.

message - the message to associate with this exception.