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
-
-
Constructor Summary
Constructors Constructor Description ExError(EOerror.ExError cause, String loc)
Ctor.ExError(Phi enclosure)
Ctor.ExError(Phi enclosure, Collection<String> locations)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Phi
enclosure()
Take it.Collection<String>
locations()
Take locations.-
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 loc)
Ctor.- Parameters:
cause
- Previous errorloc
- New location
-
ExError
public ExError(Phi enclosure, Collection<String> locations)
Ctor.- Parameters:
enclosure
- Enclosure inside the errorlocations
- Locations seen
-
-
Method Detail
-
enclosure
public Phi enclosure()
Take it.- Returns:
- The enclosed object
-
locations
public Collection<String> locations()
Take locations.- Returns:
- The locations
-
-