public class ExceptionHolderImpl extends ExceptionHolder implements org.jacorb.config.Configurable
org.omg.Messaging.ExceptionHolder
. An instance of this
type is used to pass an exception to a reply handler.byte_order, is_system_exception, marshaled_exception
Constructor and Description |
---|
ExceptionHolderImpl()
No-arg constructor for demarshaling.
|
ExceptionHolderImpl(ReplyInputStream inputStream)
Constructs an ExceptionHolderImpl object from an input stream.
|
ExceptionHolderImpl(SystemException exception) |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.jacorb.config.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.
|
_read, _truncatable_ids, _type, _write
public ExceptionHolderImpl()
public ExceptionHolderImpl(ReplyInputStream inputStream)
public ExceptionHolderImpl(SystemException exception)
public void configure(org.jacorb.config.Configuration configuration) throws org.jacorb.config.ConfigurationException
configure
in interface org.jacorb.config.Configurable
org.jacorb.config.ConfigurationException
public void raise_exception() throws UserException
raise_exception
in class ExceptionHolder
UserException
public void raise_exception_with_list(ExceptionList exc_list) throws UserException
raise_exception_with_list
in class ExceptionHolder
UserException
public java.lang.String toString()
toString
in class java.lang.Object
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.InvocationTargetException
public byte[] marshal()