public abstract class ExceptionTest extends Object
Modifier and Type | Field and Description |
---|---|
protected static Throwable |
CAUSE |
protected static String |
MESSAGE |
Constructor and Description |
---|
ExceptionTest() |
Modifier and Type | Method and Description |
---|---|
protected abstract Exception |
getDefault() |
protected abstract Exception |
getWithMessage() |
protected abstract Exception |
getWithMessageAndCause() |
void |
noMessageNoCause() |
void |
withCause() |
void |
withMessage() |
protected static final Throwable CAUSE
protected static final String MESSAGE
protected abstract Exception getDefault()
protected abstract Exception getWithMessage()
protected abstract Exception getWithMessageAndCause()
public void noMessageNoCause()
public void withMessage()
public void withCause()