Class AnchorImpossibleSituationException

All Implemented Interfaces:
Serializable, HasFriendlyErrorMessage

public class AnchorImpossibleSituationException extends AnchorFriendlyRuntimeException
A run-time exception to throw in situations which should never logically occur by design.

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.

Author:
Owen Feehan
See Also:
  • Constructor Details

    • AnchorImpossibleSituationException

      public AnchorImpossibleSituationException()
      Default constructor.
    • AnchorImpossibleSituationException

      public AnchorImpossibleSituationException(String message)
      Creates with a specific message explaining the exception.
      Parameters:
      message - the message.