public class AssertionFailure
extends java.lang.RuntimeException
Constructor and Description |
---|
AssertionFailure(java.lang.String message)
Creates an instance of AssertionFailure using the given message.
|
AssertionFailure(java.lang.String message,
java.lang.Throwable cause)
Creates an instance of AssertionFailure using the given message and underlying cause.
|
public AssertionFailure(java.lang.String message)
message
- The message explaining the reason for the exceptionpublic AssertionFailure(java.lang.String message, java.lang.Throwable cause)
message
- The message explaining the reason for the exceptioncause
- The underlying cause.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.