FileDocCategorySizeDatePackage
ApplicationException.javaAPI DocJava SE 5 API1316Fri Aug 26 14:58:34 BST 2005org.omg.CORBA.portable

ApplicationException

public class ApplicationException extends Exception
This class is used for reporting application level exceptions between ORBs and stubs.

Fields Summary
private String
id
private InputStream
ins
Constructors Summary
public ApplicationException(String id, InputStream ins)
Constructs an ApplicationException from the CORBA repository ID of the exception and an input stream from which the exception data can be read as its parameters.

param
id the repository id of the user exception
param
ins the stream which contains the user exception data

	this.id = id;
	this.ins = ins;
    
Methods Summary
public java.lang.StringgetId()
Returns the CORBA repository ID of the exception without removing it from the exceptions input stream.

return
The CORBA repository ID of this exception

	return id;
    
public InputStreamgetInputStream()
Returns the input stream from which the exception data can be read as its parameters.

return
The stream which contains the user exception data

	return ins;