FileDocCategorySizeDatePackage
ExceptionHandler.javaAPI DocJava SE 5 API1312Fri Aug 26 14:54:30 BST 2005com.sun.corba.se.impl.presentation.rmi

ExceptionHandler

public interface ExceptionHandler

Fields Summary
Constructors Summary
Methods Summary
public booleanisDeclaredException(java.lang.Class cls)
Return true iff cls is an exception class that is assignment compatible with an exception declared on the method used to create this ExceptionHandler.

public java.lang.ExceptionreadException(org.omg.CORBA.portable.ApplicationException ae)
Read the exception contained in the InputStream in the ApplicationException. If ae represents an exception that is assignment compatible with an exception on the method used to create this exception handler, return the exception, otherwise return an UnexpectedException wrapping the exception in ae.

public voidwriteException(org.omg.CORBA_2_3.portable.OutputStream os, java.lang.Exception ex)
Write the exception ex to os. ex must be assignment compatible with an exception declared on the method used to create this ExceptionHandler.