org.esa.beam.util
Class AssertionFailure
java.lang.Object
java.lang.Throwable
java.lang.Error
org.esa.beam.util.AssertionFailure
- All Implemented Interfaces:
- Serializable
public class AssertionFailure
- extends Error
The AssertionFailure class is an error caused by a failed program assertion.
- Version:
- $Revision$ $Date$
- Author:
- Norman Fomferra
- See Also:
Debug,
Debug.assertTrue(boolean),
Debug.assertTrue(boolean, String),
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AssertionFailure
public AssertionFailure()
- Constructs a new assertion failure. Calls
this(null)
- See Also:
AssertionFailure(String)
AssertionFailure
public AssertionFailure(String message)
- Constructs a new assertion failure with the given associated error message.
- Parameters:
message - the error message, if null the string "AssertionFailure" is used
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.