Class LogCaptureRuleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.opendaylight.infrautils.testutils.LogCaptureRuleException
-
- All Implemented Interfaces:
Serializable
public class LogCaptureRuleException extends RuntimeException
Exception thrown by theLogCaptureRule
.- Author:
- Michael Vorburger.ch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LogCaptureRuleException(String lastLoggedErrorMessage)
LogCaptureRuleException(String lastLoggedErrorMessage, @Nullable Throwable lastLoggedErrorThrowable)
LogCaptureRuleException(String lastLoggedErrorMessage, @Nullable Throwable lastLoggedErrorThrowable, @Nullable Throwable testFailingThrowable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getCause()
This is the same asgetLastLoggedThrowable()
.Optional<Throwable>
getLastLoggedThrowable()
Optional<Throwable>
getTestFailingThrowable()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-