PDFCosParseException.java
1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.internal.pdftoolkit.core.exceptions;
import com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException;
import java.util.HashSet;
import java.util.Set;
public class PDFCosParseException
extends PDFInvalidDocumentException {
private static final long serialVersionUID = 1;
private Set<CosParseErrorType> errorTypes = new HashSet<CosParseErrorType>();
public boolean hasErrorType(CosParseErrorType type) {
return this.errorTypes.contains((Object)type);
}
public void addErrorType(CosParseErrorType errorType) {
this.errorTypes.add(errorType);
}
public PDFCosParseException(String message) {
super(message);
}
public PDFCosParseException(String message, Throwable cause) {
super(message, cause);
}
public PDFCosParseException(Throwable cause) {
super(cause);
}
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public static enum CosParseErrorType {
NumberParseError;
private CosParseErrorType() {
}
}
}