Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.transport
Class TransportException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byoracle.panama.messaging.transport.TransportException

All Implemented Interfaces:
java.io.Serializable

public class TransportException
extends java.lang.Exception

The transport exception.

See Also:
Serialized Form

Constructor Summary
TransportException(int code, java.lang.String msg)
Constructor.

Method Summary
int getCode()
Get the exception code.
java.lang.String getLocalizedMessage(java.util.Locale locale)
Get the localized exception message.

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

TransportException

public TransportException(int code,
                          java.lang.String msg)
Constructor.
Parameters:
code - the exception code.
msg - the exception message.

Method Detail

getCode

public int getCode()
Get the exception code.
Returns:
the exception code.

getLocalizedMessage

public java.lang.String getLocalizedMessage(java.util.Locale locale)
Get the localized exception message.
Parameters:
locale - the given locale.
Returns:
the localized message.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.