Class ExtensionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.communication.brm.charging.extensions.framework.ExtensionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GySubscriberPreferencesException
This exception is thrown if an error occurs within the Extension implementation.
This error condition will cause Rating to Fail and report a "CUSTOM_EXTENSION_ERROR"
ReasonCode in the Response.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for an ExtensionException.ExtensionException(String message) Constructs a new ExtensionException with the specified detail message.ExtensionException(String message, Throwable cause) Constructs a new ExtensionException with the specified detail message and cause.ExtensionException(Throwable cause) Constructs a new ExtensionException with the specified cause and a detail message of (cause==null ? -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExtensionException
public ExtensionException()Default constructor for an ExtensionException. -
ExtensionException
Constructs a new ExtensionException with the specified detail message.- Parameters:
message- the detail message.
-
ExtensionException
Constructs a new ExtensionException with the specified detail message and cause.Note that the detail message associated with
causeis not automatically incorporated in this exception's detail message.- Parameters:
message- the detail message .cause- the cause
-
ExtensionException
Constructs a new ExtensionException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).- Parameters:
cause- the cause
-