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