public class MyCustomException extends Throwable
| Modifier and Type | Class and Description |
|---|---|
static class |
MyCustomException.InnerException |
| Constructor and Description |
|---|
MyCustomException()
Create a new instance
|
MyCustomException(String message)
Create a new instance
|
MyCustomException(String message,
Throwable cause)
Create a new instance
|
MyCustomException(Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MyCustomException()
public MyCustomException(String message)
message - the error messagepublic MyCustomException(String message, Throwable cause)
message - the error messagecause - the cause of the errorpublic MyCustomException(Throwable cause)
Copyright © 2014. All Rights Reserved.