Class ExpectationNotMetException

  • All Implemented Interfaces:
    java.io.Serializable, FromSourceLocation

    public class ExpectationNotMetException
    extends SourceException
    Thrown by Node methods that expect a node to be of a particular type or to have a particular member.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • ExpectationNotMetException

        public ExpectationNotMetException​(java.lang.String message,
                                          FromSourceLocation fromSourceLocation)