📄 rpexception.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: RPException.java
package org.gudy.azureus2.pluginsimpl.remote;
import org.gudy.azureus2.core3.util.Debug;
public class RPException extends RuntimeException
{
private static void checkErrorType(Throwable e)
{
if (e instanceof RPException)
{
Debug.outNoStack("RPExceptions chained together - stack trace, followed by other RPException stack trace.");
Debug.outStackTrace();
Debug.printStackTrace(e);
throw new RuntimeException("cannot chain RPException instances together");
} else
{
return;
}
}
public RPException(String str)
{
super(str);
}
public RPException(String str, Throwable e)
{
super(str, e);
checkErrorType(e);
}
public RPException(Throwable e)
{
super(e);
checkErrorType(e);
}
public String getRPType()
{
return null;
}
public Throwable getSerialisableObject()
{
Throwable t = getCause();
if (t == null)
return this;
else
return t;
}
public Class getErrorClass()
{
Throwable t = getCause();
if (t == null)
return null;
else
return t.getClass();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -