jain.protocol.ss7.oam.mtp3
Class Mtp3ErrorEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jain.protocol.ss7.oam.OamErrorEvent
              |
              +--jain.protocol.ss7.oam.mtp3.Mtp3ErrorEvent

public class Mtp3ErrorEvent
extends OamErrorEvent

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

See Also:
Serialized Form

Field Summary
static int MTP3_ERROR_ILLEGAL_TIMER_EXPIRY
          Illegal timer expiry in the MTP3 software.
static int MTP3_ERROR_ROUTING_ERROR
          Routing error.
 
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
Mtp3ErrorEvent(java.lang.Object source, int errorType)
          Constructs a new Mtp3ErrorEvent of the specified Error Type.
 
Method Summary
 void setErrorType(int errorType)
          Sets the Type of this MTP3 Error
 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

MTP3_ERROR_ROUTING_ERROR

public static final int MTP3_ERROR_ROUTING_ERROR
Routing error.

Emitted By: OwnSignallingPointMO


MTP3_ERROR_ILLEGAL_TIMER_EXPIRY

public static final int MTP3_ERROR_ILLEGAL_TIMER_EXPIRY
Illegal timer expiry in the MTP3 software. This may happen if a timer expires in a state where this timer was not supposed to be active.

Emitted By: Mtp3TimerProfileMO

Constructor Detail

Mtp3ErrorEvent

public Mtp3ErrorEvent(java.lang.Object source,
                      int errorType)
Constructs a new Mtp3ErrorEvent 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 MTP3 Error
Parameters:
errorType - one of the defined MTP3 Error Types.
Throws:
java.lang.IllegalArgumentException - - if the supplied error type is not one of the defined MTP3 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