Package org.onlab.junit
Class ExceptionTest
- java.lang.Object
-
- org.onlab.junit.ExceptionTest
-
public abstract class ExceptionTest extends java.lang.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 java.lang.Exception
getDefault()
protected abstract java.lang.Exception
getWithMessage()
protected abstract java.lang.Exception
getWithMessageAndCause()
void
noMessageNoCause()
void
withCause()
void
withMessage()
-
-
-
Field Detail
-
CAUSE
protected static final java.lang.Throwable CAUSE
-
MESSAGE
protected static final java.lang.String MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefault
protected abstract java.lang.Exception getDefault()
-
getWithMessage
protected abstract java.lang.Exception getWithMessage()
-
getWithMessageAndCause
protected abstract java.lang.Exception getWithMessageAndCause()
-
noMessageNoCause
public void noMessageNoCause()
-
withMessage
public void withMessage()
-
withCause
public void withCause()
-
-