Package org.onlab.junit
Class ExceptionTest
- java.lang.Object
-
- org.onlab.junit.ExceptionTest
-
public abstract class ExceptionTest extends Object
Base for exception tests.
-
-
Constructor Summary
Constructors Constructor Description ExceptionTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ExceptiongetDefault()protected abstract ExceptiongetWithMessage()protected abstract ExceptiongetWithMessageAndCause()voidnoMessageNoCause()voidwithCause()voidwithMessage()
-
-
-
Field Detail
-
CAUSE
protected static final Throwable CAUSE
-
MESSAGE
protected static final String MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefault
protected abstract Exception getDefault()
-
getWithMessage
protected abstract Exception getWithMessage()
-
getWithMessageAndCause
protected abstract Exception getWithMessageAndCause()
-
noMessageNoCause
public void noMessageNoCause()
-
withMessage
public void withMessage()
-
withCause
public void withCause()
-
-