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 Exception
getDefault()
protected abstract Exception
getWithMessage()
protected abstract Exception
getWithMessageAndCause()
void
noMessageNoCause()
void
withCause()
void
withMessage()
-
-
-
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()
-
-