changeset 4263:3c8f939ced1c

7055295: (reflect) add conventional constructor to GenericSignatureFormatError Reviewed-by: lancea, mduigou
author darcy
date Mon, 20 Jun 2011 17:20:35 -0700
parents a015dda3bdc6
children 70f14c2db078
files src/share/classes/java/lang/reflect/GenericSignatureFormatError.java
diffstat 1 files changed, 19 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/lang/reflect/GenericSignatureFormatError.java	Mon Jun 20 19:17:47 2011 +0800
+++ b/src/share/classes/java/lang/reflect/GenericSignatureFormatError.java	Mon Jun 20 17:20:35 2011 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -35,4 +35,22 @@
  */
 public class GenericSignatureFormatError extends ClassFormatError {
     private static final long serialVersionUID = 6709919147137911034L;
+
+    /**
+     * Constructs a new {@code GenericSignatureFormatError}.
+     *
+     */
+    public GenericSignatureFormatError() {
+        super();
+    }
+
+    /**
+     * Constructs a new {@code GenericSignatureFormatError} with the
+     * specified message.
+     *
+     * @param message the detail message, may be {@code null}
+     */
+    public GenericSignatureFormatError(String message) {
+        super(message);
+    }
 }