public class CloneableRuntimeException extends RuntimeException implements Cloneable
CloneableException,
Serialized Form| Constructor and Description |
|---|
CloneableRuntimeException() |
CloneableRuntimeException(String message) |
CloneableRuntimeException(String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
CloneableRuntimeException |
clone() |
CloneableRuntimeException |
clone(String message)
简便函数, clone并重新设定Message
|
String |
getMessage() |
CloneableRuntimeException |
setMessage(String message)
简便函数, 重新设定Message
|
CloneableRuntimeException |
setStackTrace(Class<?> throwClazz,
String throwMethod)
简便函数,定义静态异常时使用
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected String message
public CloneableRuntimeException()
public CloneableRuntimeException(String message)
public CloneableRuntimeException clone()
public String getMessage()
getMessage in class Throwablepublic CloneableRuntimeException setStackTrace(Class<?> throwClazz, String throwMethod)
public CloneableRuntimeException clone(String message)
public CloneableRuntimeException setMessage(String message)
Copyright © 2018. All rights reserved.