MessageOnlyException
This exception ignores printStackTrace with the given PrintStream or PrintWriter argument in order to avoid printing noisy and meaningless stacktrace which is done in writing a JUnit test report XML file.
This exception ignores printStackTrace with the given PrintStream or PrintWriter argument in order to avoid printing noisy and meaningless stacktrace which is done in writing a JUnit test report XML file.
Reference:
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any