|
||||||||||||
| 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
JacORB-specific implementation of
org.omg.Messaging.ExceptionHolder. An instance of this
type is used to pass an exception to a reply handler.
| Field Summary |
|---|
| Fields inherited from class org.omg.Messaging.ExceptionHolder |
|---|
byte_order, is_system_exception, marshaled_exception |
| Constructor Summary | |
|---|---|
ExceptionHolderImpl()
No-arg constructor for demarshaling. |
|
ExceptionHolderImpl(ReplyInputStream is)
Constructs an ExceptionHolderImpl object from an input stream. |
|
ExceptionHolderImpl(SystemException ex)
|
|
| Method Summary | |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
UserException |
exceptionFromHelper(java.lang.String id,
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(ExceptionList exc_list)
|
void |
raise_exception()
|
java.lang.String |
toString()
For testing. |
| Methods inherited from class org.omg.Messaging.ExceptionHolder |
|---|
_read, _truncatable_ids, _type, _write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ExceptionHolderImpl(ReplyInputStream is)
public ExceptionHolderImpl(SystemException ex)
public ExceptionHolderImpl()
| 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 UserException
raise_exception in class ExceptionHolderUserException
public void raise_exception_with_list(ExceptionList exc_list)
throws UserException
raise_exception_with_list in class ExceptionHolderUserExceptionpublic java.lang.String toString()
public UserException exceptionFromHelper(java.lang.String id,
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 | |||||||||||