jain.protocol.ss7.oam.sccp
Class SccpErrorEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jain.protocol.ss7.oam.OamErrorEvent
              |
              +--jain.protocol.ss7.oam.sccp.SccpErrorEvent

public class SccpErrorEvent
extends OamErrorEvent

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

See Also:
Serialized Form

Field Summary
static int SCCP_ERROR_ILLEGAL_TIMER_EXPIRY
          Illegal timer expiry in the SCCP software.
static int SCCP_ERROR_MSG_DECODING
          Error encountered while decoding SCCP message.
static int SCCP_ERROR_MSG_INVALID
          Invalid network message.
static int SCCP_ERROR_MSG_INVALID_TYPE
          Invalid message type.
static int SCCP_ERROR_MSG_PARAM_OUT_OF_RANGE
          Parameter in a message is out of range.
static int SCCP_ERROR_MSG_SYNTAX
          Syntax error in message received from the network.
static int SCCP_ERROR_ROUTING_ERROR
          Routing error - Invalid route or route not available.
 
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
SccpErrorEvent(java.lang.Object source, int errorType)
          Constructs a new SccpErrorEvent of the specified Error Type.
 
Method Summary
 void setErrorType(int errorType)
          Sets the Type of this 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

SCCP_ERROR_MSG_SYNTAX

public static final int SCCP_ERROR_MSG_SYNTAX
Syntax error in message received from the network.

Emitted By: SccpRoutingControMO


SCCP_ERROR_MSG_INVALID

public static final int SCCP_ERROR_MSG_INVALID
Invalid network message.

Emitted By: SccpRoutingControMO


SCCP_ERROR_MSG_PARAM_OUT_OF_RANGE

public static final int SCCP_ERROR_MSG_PARAM_OUT_OF_RANGE
Parameter in a message is out of range.

Emitted By: SccpRoutingControMO


SCCP_ERROR_MSG_DECODING

public static final int SCCP_ERROR_MSG_DECODING
Error encountered while decoding SCCP message.

Emitted By: SccpRoutingControMO


SCCP_ERROR_MSG_INVALID_TYPE

public static final int SCCP_ERROR_MSG_INVALID_TYPE
Invalid message type.

Emitted By: SccpRoutingControMO


SCCP_ERROR_ROUTING_ERROR

public static final int SCCP_ERROR_ROUTING_ERROR
Routing error - Invalid route or route not available.

Emitted By: SccpRoutingControMO


SCCP_ERROR_ILLEGAL_TIMER_EXPIRY

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

Emitted By: SccpTimerProfileMO

Constructor Detail

SccpErrorEvent

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