public class CommonException extends Exception
cause. That kind of bug is hard to detect.
If you cannot provide Throwable just use null.| Constructor and Description |
|---|
CommonException(String message)
Constructs a new exception with the specified detail message.
|
CommonException(String msg,
Throwable cause) |
CommonException(String pattern,
Throwable cause,
Object... params) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CommonException(String message)
Throwable.initCause(java.lang.Throwable).message - the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() method.Copyright © 2018. All rights reserved.