📄 activationexception.java
字号:
/* * Copyright (c) 1996, 1997, 1998, 1999 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license-lesser.terms" for information on usage and * redistribution of this file. */package java.rmi.activation;import java.io.PrintStream;import java.io.PrintWriter;public class ActivationException extends Exception {public Throwable detail;public ActivationException() { super();}public ActivationException(String s) { super(s);}public ActivationException(String s, Throwable ex) { super(s); detail = ex;}public String getMessage() { if (detail == null) { return (super.getMessage()); } else { return (super.getMessage() + ":" + detail.getMessage()); }}public void printStackTrace(PrintStream s) { if (detail != null) { detail.printStackTrace(s); } super.printStackTrace(s);}public void printStackTrace() { printStackTrace(System.err);}public void printStackTrace(PrintWriter s) { if (detail != null) { detail.printStackTrace(s); } super.printStackTrace(s);}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -