JAVA 所有包

源代码在线查看: exceptionhandler.java

软件大小: 18810 K
上传用户: woshishenb
关键词: JAVA
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*				 * @(#)ExceptionHandler.java	1.5 05/11/17				 *				 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.				 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.				 */								package com.sun.corba.se.impl.presentation.rmi ;								import org.omg.CORBA_2_3.portable.InputStream ;				import org.omg.CORBA_2_3.portable.OutputStream ;								import org.omg.CORBA.portable.ApplicationException ;								public interface ExceptionHandler 				{				    /** Return true iff cls is an exception class that is 				     * assignment compatible with an exception declared				     * on the method used to create this ExceptionHandler.				     */				    boolean isDeclaredException( Class cls ) ;								    /** Write the exception ex to os.  ex must be assignment 				     * compatible with an exception				     * declared on the method used to create this 				     * ExceptionHandler.				     */				    void writeException( OutputStream os, Exception ex ) ;								    /** 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.				     */				    Exception readException( ApplicationException ae ) ;				}							

相关资源