jain.protocol.ss7.oam.mtp2
Class Mtp2ErrorEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jain.protocol.ss7.oam.OamErrorEvent
              |
              +--jain.protocol.ss7.oam.mtp2.Mtp2ErrorEvent

public class Mtp2ErrorEvent
extends OamErrorEvent

This Event may be emitted by any MTP2 Managed Object if a user defined error is encountered. This Event may then be passed to all concerned MTP2 Error Listeners

See Also:
Serialized Form

Field Summary
static int MTP2_ERROR_INVALID_TIMER_EXPIRED
          Alarm Type Constant: Invalid MTP2 Timer Expired.
 
Fields inherited from class jain.protocol.ss7.oam.OamErrorEvent
errorMsg, errorType, NON_OAM_RELATED_ERROR
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Mtp2ErrorEvent(java.lang.Object source, int errorType)
          Constructs a new Mtp2ErrorEvent of the specified Error Type.
 
Method Summary
 void setErrorType(int errorType)
          Sets the Type of this MTP2 Error Event
 java.lang.String toString()
          Returns a string representation (with details) of classes which extend this class.
 
Methods inherited from class jain.protocol.ss7.oam.OamErrorEvent
getErrorType, getNonOamErrorMsg, setNonOamErrorMsg
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MTP2_ERROR_INVALID_TIMER_EXPIRED

public static final int MTP2_ERROR_INVALID_TIMER_EXPIRED
Alarm Type Constant: Invalid MTP2 Timer Expired.

Emitted By: Mtp2TimerProfileMO

Constructor Detail

Mtp2ErrorEvent

public Mtp2ErrorEvent(java.lang.Object source,
                      int errorType)
Constructs a new Mtp2ErrorEvent of the specified Error Type.
Parameters:
source - the source of the error
errorType - one of the defined Error Types.
Method Detail

setErrorType

public void setErrorType(int errorType)
                  throws java.lang.IllegalArgumentException
Sets the Type of this MTP2 Error Event
Parameters:
errorType - one of the defined MTP2 Error Types.
Throws:
java.lang.IllegalArgumentException - - if the supplied error type is not one of the defined MTP2 Error Types
Overrides:
setErrorType in class OamErrorEvent

toString

public java.lang.String toString()
Returns a string representation (with details) of classes which extend this class. Over rides standard JAVA toString method.
Overrides:
toString in class java.util.EventObject


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