Class JUnitException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.junit.platform.commons.JUnitException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PreconditionViolationException

@API(status=STABLE,
     since="1.5")
public class JUnitException
extends java.lang.RuntimeException
Base class for all RuntimeExceptions thrown by JUnit.
Since:
1.0
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    JUnitException​(java.lang.String message)  
    JUnitException​(java.lang.String message, java.lang.Throwable cause)  
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • JUnitException

      public JUnitException​(java.lang.String message)
    • JUnitException

      public JUnitException​(java.lang.String message, java.lang.Throwable cause)