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:
java.io.Serializable
public class ReaderException extends YamlEngineException
Indicate invalid input stream- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReaderException(java.lang.String name, int position, int codePoint, java.lang.String message)
Create
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCodePoint()
getterjava.lang.String
getName()
getterint
getPosition()
getterjava.lang.String
toString()
-
-
-
Constructor Detail
-
ReaderException
public ReaderException(java.lang.String name, int position, int codePoint, java.lang.String message)
Create- Parameters:
name
- - the name of the readerposition
- - the position from the beginning of the streamcodePoint
- - the invalid charactermessage
- - the problem
-
-
Method Detail
-
getName
public java.lang.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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
-