public class MagicException extends Exception
| Constructor and Description |
|---|
MagicException()
Default constructor
|
MagicException(String message)
Create exception with error message
|
MagicException(String message,
Throwable cause)
Create an exception with custom message and throwable info
|
MagicException(Throwable cause)
Create exception based on an existing Throwable
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MagicException()
public MagicException(String message)
message - The error message for this exceptionpublic MagicException(Throwable cause)
cause - The throwable on which we'll base this exceptionCopyright © 2017. All rights reserved.