com.cisco.provisioning.cpe.extensions
Class ExtensionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.cisco.provisioning.cpe.BaseException
              extended by com.cisco.provisioning.cpe.extensions.ExtensionException
All Implemented Interfaces:
Serializable

public class ExtensionException
extends com.cisco.provisioning.cpe.BaseException

The ExtensionException exception is thrown by a CSRC RDU extension point to indicate an unrecoverable error condition has occurred.

See Also:
DeviceConfiguration, DeviceDetection, DeviceDisruption, Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
ExtensionException()
          Constructor for an exception with no text message or nested exception.
ExtensionException(Exception nestedException)
          Constructor for an exception that contains a nested exception.
ExtensionException(Exception nestedException, String message)
          Constructor with a message and a nested exception.
ExtensionException(Exception nestedException, String message, boolean hideNestedException)
          Deprecated. Please use ExtensionException(Exception, String) instead.
ExtensionException(String message)
          Constructor with a 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
See Also:
Constant Field Values
Constructor Detail

ExtensionException

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


ExtensionException

public ExtensionException(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.

ExtensionException

public ExtensionException(String message)
Constructor with a message

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

ExtensionException

public ExtensionException(Exception nestedException,
                          String message)
Constructor with a message and a nested exception.

Parameters:
nestedException - The exception this exception is explaining in more detail.
message - The display message for the explanation message.

ExtensionException

@Deprecated
public ExtensionException(Exception nestedException,
                                     String message,
                                     boolean hideNestedException)
Deprecated. Please use ExtensionException(Exception, String) instead.

Constructor for an exception that contains a text messsage and a nested exception.

Parameters:
nestedException - the exception this exception is explaining in more detail
message - the message to associate with this exception.
hideNestedException - this field is ignored.