public class MyException extends RuntimeException
Constructor and Description |
---|
MyException(String message) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
void |
setMessage(String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MyException(String message)
public String getMessage()
getMessage
in class Throwable
public void setMessage(String message)
Copyright © 2019. All rights reserved.