jain.protocol.ss7.oam
Class CommitException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--jain.protocol.ss7.oam.CommitException
- public class CommitException
- extends java.lang.Exception
This Exception is thrown by a JAIN OAM Managed Object
if the commit() command has been invoked and not all of the operations were
successfully comitted.
- See Also:
- Serialized Form
|
Method Summary |
void |
addEntry(boolean success,
java.lang.String managedObject,
java.lang.String operation)
Adds an entry to the log file of this CommitException. |
java.lang.String |
getLog()
Returns a log of the operations. |
| 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 |
CommitException
public CommitException()
- Constructs a new
CommitException.
addEntry
public void addEntry(boolean success,
java.lang.String managedObject,
java.lang.String operation)
- Adds an entry to the log file of this CommitException.
- Parameters:
success - either :
true - the operation successfully completed.
false - the operation failed
managedObject - the Managed Objectclass nameoperation - the opertion that was to be committed.
getLog
public java.lang.String getLog()
- Returns a log of the operations.
- Returns:
- a log in the format:
1 : [ManagedObject] : [operationRequested] : [SUCCESS | FAILURE] ;
2 : [ManagedObject] : [operationRequested] : [SUCCESS | FAILURE] ;
..... .... .... .... ....
N : [ManagedObject] : [operationRequested] : [SUCCESS | FAILURE] ;
Eg.
1 : Route : setDestinationPointCode : SUCCESS ;
2 : Route : setPriority : SUCCESS ;
3 : LinkSet : setDestinationPointCode : SUCCESS ;
4 : LinkSet : addLink : FAILURE ;
01 September 99
If you have any comments or queries, please mail them to JainOAM@East.Sun.ComCopyright - 1999 Sun Microsystems