org.esa.beam.util
Class AssertionFailure

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by 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

Constructor Summary
AssertionFailure()
          Constructs a new assertion failure.
AssertionFailure(String message)
          Constructs a new assertion failure with the given associated error message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.