public class AnchorImpossibleSituationException extends AnchorFriendlyRuntimeException
This is conveient to use instead of assert false
as assertions are not always checked
by the JVM.
If this is somehow thrown, it's an indication there is a logical error in the code.
Constructor and Description |
---|
AnchorImpossibleSituationException()
Default constructor.
|
AnchorImpossibleSituationException(String message)
Creates with a specific message explaining the exception.
|
friendlyMessage, friendlyMessageHierarchy, friendlyMessageHierarchy
toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AnchorImpossibleSituationException()
public AnchorImpossibleSituationException(String message)
message
- the message.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.