jain.protocol.ss7.oam
Class TooManyInstancesException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--jain.protocol.ss7.JainSS7Exception
|
+--jain.protocol.ss7.oam.TooManyInstancesException
- public class TooManyInstancesException
- extends JainSS7Exception
This Exception is thrown whenever an attempt is made
to set or create more elements than a particular implementation permits.
For example, invoking
someMO.setElement(int index, ElementType element);
with an index that is greater than the permitted number of elements,
or
someMO.setElement(ElementType[] elements);
where elements is
an array with a size greater than the allowed size.
Similarly, all create() methods will throw this Exception if an attempt is made
to create more instances of a particular Managed Object than the implementation allows.
The Object Id will identify the Managed Object that
has caused this Exception to be thrown.
- See Also:
- Serialized Form
Constructor Summary |
TooManyInstancesException(int objectId)
Constructs a new TooManyInstancesException identifying the
OAM Managed Object type that caused the Exception to be thrown |
TooManyInstancesException(java.lang.String msg,
int objectId)
Constructs a new TooManyInstancesException with the specified
detail message and the object Id of the managed object that caused the exception |
Method Summary |
int |
getObjectId()
Returns an Id that identifies the Managed Object type of which there are too
many instances |
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 |
TooManyInstancesException
public TooManyInstancesException(int objectId)
- Constructs a new
TooManyInstancesException
identifying the
OAM Managed Object type that caused the Exception to be thrown
- Parameters:
objectId
- the
Object Id of the managed object
TooManyInstancesException
public TooManyInstancesException(java.lang.String msg,
int objectId)
- Constructs a new
TooManyInstancesException
with the specified
detail message and the object Id of the managed object that caused the exception
- Parameters:
msg
- the message detail of this Exception.objectId
- the
Object Id of the managed object
getObjectId
public int getObjectId()
- Returns an Id that identifies the Managed Object type of which there are too
many instances
- Returns:
- the Object Id of the
managed object
06 January 2000
If you have any comments or queries, please mail them to Colm Hayden [JAIN SS7 OAM Edit Lead]Copyright - 2000 Sun Microsystems