1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.yaml.snakeyaml.constructor;
18
19 import org.yaml.snakeyaml.error.Mark;
20 import org.yaml.snakeyaml.error.MarkedYAMLException;
21
22 public class ConstructorException extends MarkedYAMLException {
23 private static final long serialVersionUID = -8816339931365239910L;
24
25 protected ConstructorException(String context, Mark contextMark, String problem,
26 Mark problemMark, Throwable cause) {
27 super(context, contextMark, problem, problemMark, cause);
28 }
29
30 protected ConstructorException(String context, Mark contextMark, String problem,
31 Mark problemMark) {
32 this(context, contextMark, problem, problemMark, null);
33 }
34 }