JAIN TCAP API
v1.1 - 5th Sept 2001

jain
Class MandatoryParameterNotSetException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--jain.JainException
                    |
                    +--jain.ParameterNotSetException
                          |
                          +--jain.MandatoryParameterNotSetException
All Implemented Interfaces:
java.io.Serializable

public class MandatoryParameterNotSetException
extends ParameterNotSetException

This Exception is thrown as a result of the following two situations:

  1. if all of the mandatory parameters required by an implementation of a JainTcapProvider to send either a ComponentReqEvent or a DialogueReqEvent have not been set or
  2. if an attempt is made to access a JAIN TCAP Mandatory parameter that has not been set within either a ComponentReqEvent or a DialogueReqEvent.
The distinction between the two situations in which the exception is thrown is that the JainTcapProvider will throw the exception if all of the mandatory parameters for the underlying variant are not set (the JAIN TCAP Mandatory parameters plus additional parameters that are mandatory for the underlying variant only), whereas the accessor methods on the Events will throw the exception for JAIN TCAP Mandatory parameters only.

Version:
1.1
Author:
Sun Microsystems Inc.
See Also:
Serialized Form

Constructor Summary
MandatoryParameterNotSetException()
          Constructs a new MandatoryParameterNotSetException
MandatoryParameterNotSetException(java.lang.String msg)
          Constructs a new MandatoryParameterNotSetException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MandatoryParameterNotSetException

public MandatoryParameterNotSetException(java.lang.String msg)
Constructs a new MandatoryParameterNotSetException with the specified detail message.

Parameters:
msg - the detail message. NB: It is recommended that the detail message returned in the MandatoryParameterNotSetException should be a String of the form:

"Parameter: not set"

MandatoryParameterNotSetException

public MandatoryParameterNotSetException()
Constructs a new MandatoryParameterNotSetException

JAIN TCAP API
v1.1 - 5th Sept 2001

Email comments to [email protected]