Package EOorg.EOeolang
Class EOerror.ExError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eolang.ExAbstract
-
- EOorg.EOeolang.EOerror.ExError
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- EOerror
public static final class EOerror.ExError extends ExAbstract
This exception is thrown by theEOerrorobject only.You are not supposed to use it anywhere else!
- Since:
- 0.24
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExError(EOerror.ExError cause, String message)Ctor.ExError(Phi enclosure)Ctor.ExError(Phi enclosure, Collection<String> before)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Phienclosure()Take it.Collection<String>messages()Take earlier seen messages.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ExError
public ExError(Phi enclosure)
Ctor.- Parameters:
enclosure- Enclosure inside the error
-
ExError
public ExError(EOerror.ExError cause, String message)
Ctor.- Parameters:
cause- Previous errormessage- New message
-
ExError
public ExError(Phi enclosure, Collection<String> before)
Ctor.- Parameters:
enclosure- Enclosure inside the errorbefore- Messages seen before
-
-
Method Detail
-
enclosure
public Phi enclosure()
Take it.- Returns:
- The enclosed object
-
messages
public Collection<String> messages()
Take earlier seen messages.- Returns:
- The messages
-
-