exceptionhandler.java
来自「JAVA 所有包」· Java 代码 · 共 40 行
JAVA
40 行
/* * @(#)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 ) ;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?