public class AssertionFailure extends Error
AssertionFailure
class is an error caused by a failed program assertion.Debug
,
Debug.assertTrue(boolean)
,
Debug.assertTrue(boolean, String)
,
Serialized FormConstructor and Description |
---|
AssertionFailure()
Constructs a new assertion failure.
|
AssertionFailure(String message)
Constructs a new assertion failure with the given associated error message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AssertionFailure()
this(null)
AssertionFailure(String)
public AssertionFailure(String message)
message
- the error message, if null the string "AssertionFailure" is usedCopyright © 2014–2015 European Space Agency (ESA). All rights reserved.