public class TransportException
extends com.streamscape.sdo.IAbstractExceptionEvent
Title: Structured Data Objects
Description: This is a general transport I/O exception, typically thrown when a Messaging Operation experiences a problem.
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EVENT_ID |
SEMANTIC_TYPE_NAME
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
TransportException(int errorCode,
java.lang.String message) |
TransportException(int errorCode,
java.lang.String message,
Severity severity) |
TransportException(int errorCode,
java.lang.String message,
java.lang.Throwable cause) |
TransportException(int errorCode,
java.lang.String message,
java.lang.Throwable cause,
Severity severity) |
TransportException(int errorCode,
java.lang.Throwable cause) |
TransportException(int errorCode,
java.lang.Throwable cause,
Severity severity) |
TransportException(javax.jms.JMSException cause) |
TransportException(java.lang.String errorCode,
java.lang.String errorMessage) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComponentName()
Returns the component name of the exception.
|
java.lang.String |
getConnectionName()
Returns the connection name of the exception.
|
java.lang.String |
getErrorCodeAsString()
Returns the error code of the exception.
|
void |
setComponentName(java.lang.String componentName)
Sets the specified component name.
|
void |
setConnectionName(java.lang.String connName)
Sets the specified connection name.
|
void |
setErrorCode(java.lang.String errorCode)
Sets the the error code of the exception.
|
canConvertEventProperty, clearEventProperties, clone, equals, existsEventProperty, getCorrelationId, getCorrelationIdAsBytes, getDurable, getErrorCode, getErrorMessage, getErrorPrefix, getEventBigDecimalProperty, getEventBooleanProperty, getEventByteProperty, getEventDoubleProperty, getEventFloatProperty, getEventGroupId, getEventId, getEventIntProperty, getEventKey, getEventLongProperty, getEventObjectProperty, getEventPropertyNames, getEventPropertyType, getEventShortProperty, getEventSink, getEventSource, getEventStringProperty, getReplyTo, getSerialVersionUID, getSeverity, getTimestamp, getTransmitAccess, isCoalesced, removeEventProperty, resetReplyTo, setCorrelationId, setCorrelationIdAsBytes, setDurable, setErrorCode, setEventBigDecimalProperty, setEventBigDecimalProperty, setEventBooleanProperty, setEventByteProperty, setEventDoubleProperty, setEventFloatProperty, setEventGroupId, setEventIntProperty, setEventKey, setEventLongProperty, setEventObjectProperty, setEventShortProperty, setEventSink, setEventStringProperty, setReplyTo, setSeverity, toString
public static final java.lang.String EVENT_ID
public TransportException(javax.jms.JMSException cause)
public TransportException(java.lang.String errorCode, java.lang.String errorMessage)
public TransportException(int errorCode, java.lang.String message)
public TransportException(int errorCode, java.lang.Throwable cause)
public TransportException(int errorCode, java.lang.String message, java.lang.Throwable cause)
public TransportException(int errorCode, java.lang.String message, Severity severity)
public TransportException(int errorCode, java.lang.Throwable cause, Severity severity)
public TransportException(int errorCode, java.lang.String message, java.lang.Throwable cause, Severity severity)
public void setErrorCode(java.lang.String errorCode)
errorCode
- the error code to be set.SDORuntimeException
- if the event is coalesced (locked for editing).public java.lang.String getErrorCodeAsString()
getErrorCodeAsString
in interface ExceptionEventDatagram
getErrorCodeAsString
in class com.streamscape.sdo.IAbstractExceptionEvent
public void setConnectionName(java.lang.String connName)
connName
- the connection name to be set.SDORuntimeException
- if the event is coalesced (locked for editing).public java.lang.String getConnectionName()
public void setComponentName(java.lang.String componentName)
componentName
- the component name to be set.SDORuntimeException
- if the event is coalesced (locked for editing).public java.lang.String getComponentName()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.