public class org.apache.tomcat.util.descriptor.XmlErrorHandler implements org.xml.sax.ErrorHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.descriptor.XmlErrorHandler
super_class: java.lang.Object
{
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.List<org.xml.sax.SAXParseException> errors;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/xml/sax/SAXParseException;>;
private final java.util.List<org.xml.sax.SAXParseException> warnings;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/xml/sax/SAXParseException;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.tomcat.util.descriptor.Constants.PACKAGE_NAME:Ljava/lang/String;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
1: putstatic org.apache.tomcat.util.descriptor.XmlErrorHandler.sm:Lorg/apache/tomcat/util/res/StringManager;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.tomcat.util.descriptor.XmlErrorHandler.errors:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.tomcat.util.descriptor.XmlErrorHandler.warnings:Ljava/util/List;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/descriptor/XmlErrorHandler;
public void error(org.xml.sax.SAXParseException);
descriptor: (Lorg/xml/sax/SAXParseException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.descriptor.XmlErrorHandler.errors:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/descriptor/XmlErrorHandler;
0 2 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/tomcat/util/descriptor/XmlErrorHandler;
0 1 1 exception Lorg/xml/sax/SAXParseException;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
exception
public void warning(org.xml.sax.SAXParseException);
descriptor: (Lorg/xml/sax/SAXParseException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.descriptor.XmlErrorHandler.warnings:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/descriptor/XmlErrorHandler;
0 2 1 exception Lorg/xml/sax/SAXParseException;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
exception
public java.util.List<org.xml.sax.SAXParseException> getErrors();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.descriptor.XmlErrorHandler.errors:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/XmlErrorHandler;
Signature: ()Ljava/util/List<Lorg/xml/sax/SAXParseException;>;
public java.util.List<org.xml.sax.SAXParseException> getWarnings();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.descriptor.XmlErrorHandler.warnings:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/XmlErrorHandler;
Signature: ()Ljava/util/List<Lorg/xml/sax/SAXParseException;>;
public void logFindings(org.apache.juli.logging.Log, java.lang.String);
descriptor: (Lorg/apache/juli/logging/Log;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.tomcat.util.descriptor.XmlErrorHandler.getWarnings:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.apache.tomcat.util.descriptor.XmlErrorHandler org.apache.juli.logging.Log java.lang.String top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.xml.sax.SAXParseException
astore 3
start local 3 2: aload 1
getstatic org.apache.tomcat.util.descriptor.XmlErrorHandler.sm:Lorg/apache/tomcat/util/res/StringManager;
3: ldc "xmlErrorHandler.warning"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
invokevirtual org.xml.sax.SAXParseException.getMessage:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
aastore
4: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aload 0
invokevirtual org.apache.tomcat.util.descriptor.XmlErrorHandler.getErrors:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals:
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.xml.sax.SAXParseException
astore 3
start local 3 8: aload 1
getstatic org.apache.tomcat.util.descriptor.XmlErrorHandler.sm:Lorg/apache/tomcat/util/res/StringManager;
9: ldc "xmlErrorHandler.error"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
invokevirtual org.xml.sax.SAXParseException.getMessage:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
aastore
10: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
end local 3 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/tomcat/util/descriptor/XmlErrorHandler;
0 13 1 log Lorg/apache/juli/logging/Log;
0 13 2 source Ljava/lang/String;
2 5 3 e Lorg/xml/sax/SAXParseException;
8 11 3 e Lorg/xml/sax/SAXParseException;
MethodParameters:
Name Flags
log
source
}
SourceFile: "XmlErrorHandler.java"