public class org.apache.xml.utils.DefaultErrorHandler implements org.xml.sax.ErrorHandler, javax.xml.transform.ErrorListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xml.utils.DefaultErrorHandler
super_class: java.lang.Object
{
java.io.PrintWriter m_pw;
descriptor: Ljava/io/PrintWriter;
flags: (0x0000)
boolean m_throwExceptionOnError;
descriptor: Z
flags: (0x0000)
public void <init>(java.io.PrintWriter);
descriptor: (Ljava/io/PrintWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.apache.xml.utils.DefaultErrorHandler.m_throwExceptionOnError:Z
2: aload 0
aload 1
putfield org.apache.xml.utils.DefaultErrorHandler.m_pw:Ljava/io/PrintWriter;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xml/utils/DefaultErrorHandler;
0 4 1 pw Ljava/io/PrintWriter;
MethodParameters:
Name Flags
pw
public void <init>(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.apache.xml.utils.DefaultErrorHandler.m_throwExceptionOnError:Z
2: aload 0
new java.io.PrintWriter
dup
aload 1
iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;Z)V
putfield org.apache.xml.utils.DefaultErrorHandler.m_pw:Ljava/io/PrintWriter;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xml/utils/DefaultErrorHandler;
0 4 1 pw Ljava/io/PrintStream;
MethodParameters:
Name Flags
pw
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokespecial org.apache.xml.utils.DefaultErrorHandler.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xml/utils/DefaultErrorHandler;
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.apache.xml.utils.DefaultErrorHandler.m_throwExceptionOnError:Z
2: aload 0
iload 1
putfield org.apache.xml.utils.DefaultErrorHandler.m_throwExceptionOnError:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xml/utils/DefaultErrorHandler;
0 4 1 throwExceptionOnError Z
MethodParameters:
Name Flags
throwExceptionOnError
public java.io.PrintWriter getErrorWriter();
descriptor: ()Ljava/io/PrintWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xml.utils.DefaultErrorHandler.m_pw:Ljava/io/PrintWriter;
ifnonnull 2
1: aload 0
new java.io.PrintWriter
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;Z)V
putfield org.apache.xml.utils.DefaultErrorHandler.m_pw:Ljava/io/PrintWriter;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xml.utils.DefaultErrorHandler.m_pw:Ljava/io/PrintWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xml/utils/DefaultErrorHandler;
public void warning(org.xml.sax.SAXParseException);
descriptor: (Lorg/xml/sax/SAXParseException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xml.utils.DefaultErrorHandler.getErrorWriter:()Ljava/io/PrintWriter;
astore 2
start local 2 1: aload 2
aload 1
invokestatic org.apache.xml.utils.DefaultErrorHandler.printLocation:(Ljava/io/PrintWriter;Ljava/lang/Throwable;)V
2: aload 2
new java.lang.StringBuilder
dup
ldc "Parser warning: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.xml.sax.SAXParseException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xml/utils/DefaultErrorHandler;
0 4 1 exception Lorg/xml/sax/SAXParseException;
1 4 2 pw Ljava/io/PrintWriter;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
exception
public void error(org.xml.sax.SAXParseException);
descriptor: (Lorg/xml/sax/SAXParseException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xml/utils/DefaultErrorHandler;
0 1 1 exception Lorg/xml/sax/SAXParseException;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
exception
public void fatalError(org.xml.sax.SAXParseException);
descriptor: (Lorg/xml/sax/SAXParseException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xml/utils/DefaultErrorHandler;
0 1 1 exception Lorg/xml/sax/SAXParseException;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
exception
public void warning(javax.xml.transform.TransformerException);
descriptor: (Ljavax/xml/transform/TransformerException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xml.utils.DefaultErrorHandler.getErrorWriter:()Ljava/io/PrintWriter;
astore 2
start local 2 1: aload 2
aload 1
invokestatic org.apache.xml.utils.DefaultErrorHandler.printLocation:(Ljava/io/PrintWriter;Ljava/lang/Throwable;)V
2: aload 2
aload 1
invokevirtual javax.xml.transform.TransformerException.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xml/utils/DefaultErrorHandler;
0 4 1 exception Ljavax/xml/transform/TransformerException;
1 4 2 pw Ljava/io/PrintWriter;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
exception
public void error(javax.xml.transform.TransformerException);
descriptor: (Ljavax/xml/transform/TransformerException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.xml.utils.DefaultErrorHandler.m_throwExceptionOnError:Z
ifeq 2
1: aload 1
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.xml.utils.DefaultErrorHandler.getErrorWriter:()Ljava/io/PrintWriter;
astore 2
start local 2 3: aload 2
aload 1
invokestatic org.apache.xml.utils.DefaultErrorHandler.printLocation:(Ljava/io/PrintWriter;Ljava/lang/Throwable;)V
4: aload 2
aload 1
invokevirtual javax.xml.transform.TransformerException.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/xml/utils/DefaultErrorHandler;
0 6 1 exception Ljavax/xml/transform/TransformerException;
3 5 2 pw Ljava/io/PrintWriter;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
exception
public void fatalError(javax.xml.transform.TransformerException);
descriptor: (Ljavax/xml/transform/TransformerException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.xml.utils.DefaultErrorHandler.m_throwExceptionOnError:Z
ifeq 2
1: aload 1
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.xml.utils.DefaultErrorHandler.getErrorWriter:()Ljava/io/PrintWriter;
astore 2
start local 2 3: aload 2
aload 1
invokestatic org.apache.xml.utils.DefaultErrorHandler.printLocation:(Ljava/io/PrintWriter;Ljava/lang/Throwable;)V
4: aload 2
aload 1
invokevirtual javax.xml.transform.TransformerException.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/xml/utils/DefaultErrorHandler;
0 6 1 exception Ljavax/xml/transform/TransformerException;
3 5 2 pw Ljava/io/PrintWriter;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
exception
public static void ensureLocationSet(javax.xml.transform.TransformerException);
descriptor: (Ljavax/xml/transform/TransformerException;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
astore 2
start local 2 2: StackMap locals: javax.xml.transform.SourceLocator java.lang.Throwable
StackMap stack:
aload 2
instanceof org.xml.sax.SAXParseException
ifeq 5
3: new org.apache.xml.utils.SAXSourceLocator
dup
aload 2
checkcast org.xml.sax.SAXParseException
invokespecial org.apache.xml.utils.SAXSourceLocator.<init>:(Lorg/xml/sax/SAXParseException;)V
astore 1
4: goto 9
5: StackMap locals:
StackMap stack:
aload 2
instanceof javax.xml.transform.TransformerException
ifeq 9
6: aload 2
checkcast javax.xml.transform.TransformerException
invokevirtual javax.xml.transform.TransformerException.getLocator:()Ljavax/xml/transform/SourceLocator;
astore 3
start local 3 7: aload 3
ifnull 9
8: aload 3
astore 1
end local 3 9: StackMap locals:
StackMap stack:
aload 2
instanceof javax.xml.transform.TransformerException
ifeq 11
10: aload 2
checkcast javax.xml.transform.TransformerException
invokevirtual javax.xml.transform.TransformerException.getCause:()Ljava/lang/Throwable;
astore 2
goto 14
11: StackMap locals:
StackMap stack:
aload 2
instanceof org.xml.sax.SAXException
ifeq 13
12: aload 2
checkcast org.xml.sax.SAXException
invokevirtual org.xml.sax.SAXException.getException:()Ljava/lang/Exception;
astore 2
goto 14
13: StackMap locals:
StackMap stack:
aconst_null
astore 2
14: StackMap locals:
StackMap stack:
aload 2
ifnonnull 2
15: aload 0
aload 1
invokevirtual javax.xml.transform.TransformerException.setLocator:(Ljavax/xml/transform/SourceLocator;)V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 exception Ljavax/xml/transform/TransformerException;
1 17 1 locator Ljavax/xml/transform/SourceLocator;
2 17 2 cause Ljava/lang/Throwable;
7 9 3 causeLocator Ljavax/xml/transform/SourceLocator;
MethodParameters:
Name Flags
exception
public static void printLocation(java.io.PrintStream, javax.xml.transform.TransformerException);
descriptor: (Ljava/io/PrintStream;Ljavax/xml/transform/TransformerException;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.PrintWriter
dup
aload 0
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
aload 1
invokestatic org.apache.xml.utils.DefaultErrorHandler.printLocation:(Ljava/io/PrintWriter;Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 pw Ljava/io/PrintStream;
0 2 1 exception Ljavax/xml/transform/TransformerException;
MethodParameters:
Name Flags
pw
exception
public static void printLocation(java.io.PrintStream, org.xml.sax.SAXParseException);
descriptor: (Ljava/io/PrintStream;Lorg/xml/sax/SAXParseException;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.PrintWriter
dup
aload 0
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
aload 1
invokestatic org.apache.xml.utils.DefaultErrorHandler.printLocation:(Ljava/io/PrintWriter;Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 pw Ljava/io/PrintStream;
0 2 1 exception Lorg/xml/sax/SAXParseException;
MethodParameters:
Name Flags
pw
exception
public static void printLocation(java.io.PrintWriter, java.lang.Throwable);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/Throwable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
astore 3
start local 3 2: StackMap locals: javax.xml.transform.SourceLocator java.lang.Throwable
StackMap stack:
aload 3
instanceof org.xml.sax.SAXParseException
ifeq 5
3: new org.apache.xml.utils.SAXSourceLocator
dup
aload 3
checkcast org.xml.sax.SAXParseException
invokespecial org.apache.xml.utils.SAXSourceLocator.<init>:(Lorg/xml/sax/SAXParseException;)V
astore 2
4: goto 9
5: StackMap locals:
StackMap stack:
aload 3
instanceof javax.xml.transform.TransformerException
ifeq 9
6: aload 3
checkcast javax.xml.transform.TransformerException
invokevirtual javax.xml.transform.TransformerException.getLocator:()Ljavax/xml/transform/SourceLocator;
astore 4
start local 4 7: aload 4
ifnull 9
8: aload 4
astore 2
end local 4 9: StackMap locals:
StackMap stack:
aload 3
instanceof javax.xml.transform.TransformerException
ifeq 11
10: aload 3
checkcast javax.xml.transform.TransformerException
invokevirtual javax.xml.transform.TransformerException.getCause:()Ljava/lang/Throwable;
astore 3
goto 16
11: StackMap locals:
StackMap stack:
aload 3
instanceof org.apache.xml.utils.WrappedRuntimeException
ifeq 13
12: aload 3
checkcast org.apache.xml.utils.WrappedRuntimeException
invokevirtual org.apache.xml.utils.WrappedRuntimeException.getException:()Ljava/lang/Exception;
astore 3
goto 16
13: StackMap locals:
StackMap stack:
aload 3
instanceof org.xml.sax.SAXException
ifeq 15
14: aload 3
checkcast org.xml.sax.SAXException
invokevirtual org.xml.sax.SAXException.getException:()Ljava/lang/Exception;
astore 3
goto 16
15: StackMap locals:
StackMap stack:
aconst_null
astore 3
16: StackMap locals:
StackMap stack:
aload 3
ifnonnull 2
17: aload 2
ifnull 28
18: aload 2
invokeinterface javax.xml.transform.SourceLocator.getPublicId:()Ljava/lang/String;
ifnull 20
19: aload 2
invokeinterface javax.xml.transform.SourceLocator.getPublicId:()Ljava/lang/String;
goto 23
20: StackMap locals:
StackMap stack:
aload 2
invokeinterface javax.xml.transform.SourceLocator.getSystemId:()Ljava/lang/String;
ifnull 22
21: aload 2
invokeinterface javax.xml.transform.SourceLocator.getSystemId:()Ljava/lang/String;
goto 23
StackMap locals:
StackMap stack:
22: ldc "ER_SYSTEMID_UNKNOWN"
aconst_null
invokestatic org.apache.xml.res.XMLMessages.createXMLMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
23: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 24: aload 0
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "line"
aconst_null
invokestatic org.apache.xml.res.XMLMessages.createXMLMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokeinterface javax.xml.transform.SourceLocator.getLineNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
25: ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "column"
aconst_null
invokestatic org.apache.xml.res.XMLMessages.createXMLMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokeinterface javax.xml.transform.SourceLocator.getColumnNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
end local 4 27: goto 29
28: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "ER_LOCATION_UNKNOWN"
aconst_null
invokestatic org.apache.xml.res.XMLMessages.createXMLMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
29: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 pw Ljava/io/PrintWriter;
0 30 1 exception Ljava/lang/Throwable;
1 30 2 locator Ljavax/xml/transform/SourceLocator;
2 30 3 cause Ljava/lang/Throwable;
7 9 4 causeLocator Ljavax/xml/transform/SourceLocator;
24 27 4 id Ljava/lang/String;
MethodParameters:
Name Flags
pw
exception
}
SourceFile: "DefaultErrorHandler.java"