Package com.amihaiemil.eoyaml.exceptions
Class YamlPrintException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amihaiemil.eoyaml.exceptions.YamlPrintException
-
- All Implemented Interfaces:
Serializable
public final class YamlPrintException extends RuntimeException
If there is any problem while printing a YamlNode, this runtime exception is thrown, encapsulating the original IOException.- Since:
- 4.3.1
- Version:
- $Id: 672155148c8e1e640e4d98a3f6ec66f21bc6bfe7 $
- Author:
- Mihai Andronache (amihaiemil@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description YamlPrintException(String message, IOException original)Constructor with parameters.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
YamlPrintException
public YamlPrintException(String message, IOException original)
Constructor with parameters.- Parameters:
message- Exception message.original- Original IOException thrown while printing.
-
-