|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.Messaging.ExceptionHolder
org.jacorb.orb.ExceptionHolderImpl
public class ExceptionHolderImpl
JacORB-specific implementation of
org.omg.Messaging.ExceptionHolder. An instance of this
type is used to pass an exception to a reply handler.
| Constructor Summary | |
|---|---|
ExceptionHolderImpl()
No-arg constructor for demarshaling. |
|
ExceptionHolderImpl(ReplyInputStream inputStream)
Constructs an ExceptionHolderImpl object from an input stream. |
|
ExceptionHolderImpl(org.omg.CORBA.SystemException exception)
|
|
| Method Summary | |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
org.omg.CORBA.UserException |
exceptionFromHelper(java.lang.String id,
org.omg.CORBA.portable.InputStream input)
Given a repository id, tries to find a helper for the corresponding class and uses it to unmarshal an instance of this class from the given InputStream. |
byte[] |
marshal()
Marshals this object into a new buffer and returns that buffer. |
void |
raise_exception_with_list(org.omg.CORBA.ExceptionList exc_list)
|
void |
raise_exception()
|
java.lang.String |
toString()
For testing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionHolderImpl()
public ExceptionHolderImpl(ReplyInputStream inputStream)
public ExceptionHolderImpl(org.omg.CORBA.SystemException exception)
| Method Detail |
|---|
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableorg.apache.avalon.framework.configuration.ConfigurationException
public void raise_exception()
throws org.omg.CORBA.UserException
org.omg.CORBA.UserException
public void raise_exception_with_list(org.omg.CORBA.ExceptionList exc_list)
throws org.omg.CORBA.UserException
org.omg.CORBA.UserExceptionpublic java.lang.String toString()
public org.omg.CORBA.UserException exceptionFromHelper(java.lang.String id,
org.omg.CORBA.portable.InputStream input)
throws java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetExceptionpublic byte[] marshal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||