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 theEOerror
object only.You are not supposed to use it anywhere else!
- Since:
- 0.24
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Phi
enclosure()
Take it.Collection<String>
messages()
Take earlier seen messages.String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ExError
public ExError(Phi enclosure)
Ctor.- Parameters:
enclosure
- Enclosure inside the error
-
ExError
public ExError(Phi cause, String message)
Ctor.- Parameters:
cause
- Previous errormessage
- New message
-
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
-
-