| /* |
| * See LICENSE file in distribution for copyright and licensing information. |
| */ |
| package org.yaml.snakeyaml.constructor; |
| |
| import org.yaml.snakeyaml.error.Mark; |
| import org.yaml.snakeyaml.error.MarkedYAMLException; |
| |
| /** |
| * @see <a href="http://pyyaml.org/wiki/PyYAML">PyYAML</a> for more information |
| */ |
| public class ConstructorException extends MarkedYAMLException { |
| private static final long serialVersionUID = -8816339931365239910L; |
| |
| protected ConstructorException(String context, Mark contextMark, String problem, |
| Mark problemMark, Throwable cause) { |
| super(context, contextMark, problem, problemMark, cause); |
| } |
| |
| protected ConstructorException(String context, Mark contextMark, String problem, |
| Mark problemMark) { |
| this(context, contextMark, problem, problemMark, null); |
| } |
| } |