VisiBroker for Java

com.inprise.vbroker.PortableServerExt
Class ChannelException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by com.inprise.vbroker.PortableServerExt.ChannelException
All Implemented Interfaces:
java.io.Serializable, IDLEntity

public final class ChannelException
extends UserException

Raised by most PSA operations, including the the_subject_addr() and the_proxy_addr() methods. This exception has a string member that is the repository of low level CORBA User exception. For example, when calling suspend()IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyInactive

The intention of not declaring a PSA operation to raise Notification Service exception is to have the PSA framework generic. Although the current implementation of the PSA working in conjunction with OMG Notification Service or Typed Notification Service, it is straightforward and extends the support to cover other publish/ subscribe infrastructure such as multicast.

See Also:
Serialized Form

Field Summary
 java.lang.String repository_id
           
 
Constructor Summary
ChannelException()
           
ChannelException(java.lang.String repository_id)
           
ChannelException(java.lang.String _reason, java.lang.String repository_id)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

repository_id

public java.lang.String repository_id
Constructor Detail

ChannelException

public ChannelException()

ChannelException

public ChannelException(java.lang.String repository_id)

ChannelException

public ChannelException(java.lang.String _reason,
                        java.lang.String repository_id)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online