PDFGRuntimeException.java
1.35 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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.pdfg.exception;
import com.adobe.pdfg.exception.ExceptionStackTrace;
import com.adobe.pdfg.exception.PDFGBaseException;
import com.adobe.pdfg.exception.PDFGError;
import java.io.Serializable;
public class PDFGRuntimeException
extends RuntimeException
implements Serializable {
private static final long serialVersionUID = 1;
private PDFGBaseException fallbackConverterException;
private PDFGError error;
private String m_causeStackTrace;
public PDFGRuntimeException(PDFGError error, ExceptionStackTrace arg1) {
super(error != null ? error.getMessage() : null);
this.error = error;
this.m_causeStackTrace = arg1.getStackTrace();
}
public PDFGRuntimeException(PDFGError error, Throwable cause) {
super(error != null ? error.getMessage() : null, cause);
this.error = error;
}
public PDFGRuntimeException(PDFGError error) {
super(error != null ? error.getMessage() : null);
this.error = error;
}
public void setFallbackConversionException(PDFGBaseException fallbackConverterException) {
this.fallbackConverterException = fallbackConverterException;
this.error.setFallbackConverterException(fallbackConverterException);
}
public int getErrorCode() {
return this.error.getErrorCode();
}
}