Class ReaderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.snakeyaml.engine.v2.exceptions.YamlEngineException
-
- org.snakeyaml.engine.v2.exceptions.ReaderException
-
- All Implemented Interfaces:
Serializable
public class ReaderException extends YamlEngineException
Indicate invalid input stream- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReaderException(String name, int position, int codePoint, String message)Create
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCodePoint()getterStringgetName()getterintgetPosition()getterStringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
getName
public String getName()
getter- Returns:
- the name of the reader
-
getCodePoint
public int getCodePoint()
getter- Returns:
- the invalid char
-
getPosition
public int getPosition()
getter- Returns:
- position of the error
-
-