class com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler extends org.xml.sax.helpers.DefaultHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler
super_class: org.xml.sax.helpers.DefaultHandler
{
private static int ERROR_COUNT_LIMIT;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private int errorCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: .line 34
bipush 10
putstatic com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler.ERROR_COUNT_LIMIT:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler this
start local 1 // java.util.Locale locale
0: .line 38
aload 0 /* this */
invokespecial org.xml.sax.helpers.DefaultHandler.<init>:()V
1: .line 35
aload 0 /* this */
iconst_0
putfield com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler.errorCount:I
2: .line 36
aload 0 /* this */
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
putfield com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler.locale:Ljava/util/Locale;
3: .line 39
aload 0 /* this */
aload 1 /* locale */
putfield com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler.locale:Ljava/util/Locale;
4: .line 40
return
end local 1 // java.util.Locale locale
end local 0 // com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xerces/internal/jaxp/DefaultValidationErrorHandler;
0 5 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public void error(org.xml.sax.SAXParseException);
descriptor: (Lorg/xml/sax/SAXParseException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 // com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler this
start local 1 // org.xml.sax.SAXParseException e
0: .line 44
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler.errorCount:I
getstatic com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler.ERROR_COUNT_LIMIT:I
if_icmplt 2
1: .line 46
return
2: .line 47
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler.errorCount:I
ifne 6
3: .line 49
getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler.locale:Ljava/util/Locale;
4: .line 50
ldc "errorHandlerNotSet"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler.errorCount:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
5: .line 49
invokestatic com.sun.org.apache.xerces.internal.util.SAXMessageFormatter.formatMessage:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: .line 53
StackMap locals:
StackMap stack:
aload 1 /* e */
invokevirtual org.xml.sax.SAXParseException.getSystemId:()Ljava/lang/String;
astore 2 /* systemId */
start local 2 // java.lang.String systemId
7: .line 54
aload 2 /* systemId */
ifnonnull 9
8: .line 55
ldc "null"
astore 2 /* systemId */
9: .line 57
StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Error: URI="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* systemId */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: .line 58
ldc " Line="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1 /* e */
invokevirtual org.xml.sax.SAXParseException.getLineNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
11: .line 59
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1 /* e */
invokevirtual org.xml.sax.SAXParseException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: .line 57
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3 /* message */
start local 3 // java.lang.String message
13: .line 60
getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 3 /* message */
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: .line 61
aload 0 /* this */
dup
getfield com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler.errorCount:I
iconst_1
iadd
putfield com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler.errorCount:I
15: .line 62
return
end local 3 // java.lang.String message
end local 2 // java.lang.String systemId
end local 1 // org.xml.sax.SAXParseException e
end local 0 // com.sun.org.apache.xerces.internal.jaxp.DefaultValidationErrorHandler this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/org/apache/xerces/internal/jaxp/DefaultValidationErrorHandler;
0 16 1 e Lorg/xml/sax/SAXParseException;
7 16 2 systemId Ljava/lang/String;
13 16 3 message Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
e
}
SourceFile: "DefaultValidationErrorHandler.java"