Class EOerror.ExError

All Implemented Interfaces:
Serializable
Enclosing class:
EOerror

public static final class EOerror.ExError extends ExAbstract
This exception is thrown by the EOerror object only.

You are not supposed to use it anywhere else!

Since:
0.24
See Also:
  • Constructor Details

    • ExError

      public ExError(Phi enclosure)
      Ctor.
      Parameters:
      enclosure - Enclosure inside the error
    • ExError

      public ExError(Phi cause, String message)
      Ctor.
      Parameters:
      cause - Previous error
      message - New message
    • ExError

      public ExError(EOerror.ExError cause, String message)
      Ctor.
      Parameters:
      cause - Previous error
      message - New message
    • ExError

      public ExError(Phi enclosure, Collection<String> before)
      Ctor.
      Parameters:
      enclosure - Enclosure inside the error
      before - Messages seen before
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Throwable
    • enclosure

      public Phi enclosure()
      Take it.
      Returns:
      The enclosed object
    • messages

      public Collection<String> messages()
      Take earlier seen messages.
      Returns:
      The messages