org.omg.CORBA.portable
Class ApplicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.
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.