org.omg.CORBA.portable
Class ApplicationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.portable.ApplicationException
All Implemented Interfaces:
Serializable

public class ApplicationException
extends Exception
implements Serializable

This expection is thrown if the application throws an exception, defined as a part of its remote method definition.

See Also:
Serialized Form

Constructor Summary
ApplicationException(String id, InputStream input)
          Creates an exception.
 
Method Summary
 String getId()
          Get the CORBA repository Id of the exception.
 InputStream getInputStream()
          Get the input stream from where the exception parameters can be read.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationException

public ApplicationException(String id,
                            InputStream input)
Creates an exception.

Parameters:
id - the CORBA repository Id of the exception.
input - the input from where the exception parameters can be read.
Method Detail

getId

public String getId()
Get the CORBA repository Id of the exception.


getInputStream

public InputStream getInputStream()
Get the input stream from where the exception parameters can be read.