This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 70d4baae06932f527c14e480564592e93a879f86
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Jan 9 15:02:35 2026 -0500

    Javadoc
---
 .../apache/bcel/verifier/exc/AssertionViolatedException.java  | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/bcel/verifier/exc/AssertionViolatedException.java 
b/src/main/java/org/apache/bcel/verifier/exc/AssertionViolatedException.java
index ed0d387c..76f985f6 100644
--- a/src/main/java/org/apache/bcel/verifier/exc/AssertionViolatedException.java
+++ b/src/main/java/org/apache/bcel/verifier/exc/AssertionViolatedException.java
@@ -29,6 +29,8 @@ public final class AssertionViolatedException extends 
RuntimeException {
 
     /**
      * DO NOT USE. It's for experimental testing during development only.
+     *
+     * @param args command line arguments.
      */
     public static void main(final String[] args) {
         final AssertionViolatedException ave = new 
AssertionViolatedException(Arrays.toString(args));
@@ -46,6 +48,8 @@ public final class AssertionViolatedException extends 
RuntimeException {
     /**
      * Constructs a new AssertionViolatedException with the specified error 
message preceded by &quot;INTERNAL ERROR:
      * &quot;.
+     *
+     * @param message the error message.
      */
     public AssertionViolatedException(String message) {
         super(message = "INTERNAL ERROR: " + message); // Thanks to Java, the 
constructor call here must be first.
@@ -53,8 +57,10 @@ public final class AssertionViolatedException extends 
RuntimeException {
     }
 
     /**
-     * Constructs a new AssertionViolationException with the specified error 
message and initial cause
+     * Constructs a new AssertionViolationException with the specified error 
message and initial cause.
      *
+     * @param message the error message.
+     * @param initCause the initial cause.
      * @since 6.0
      */
     public AssertionViolatedException(String message, final Throwable 
initCause) {
@@ -66,6 +72,9 @@ public final class AssertionViolatedException extends 
RuntimeException {
      * Extends the error message with a string before ("pre") and after 
("post") the 'old' error message. All of these three
      * strings are allowed to be null, and null is always replaced by the 
empty string (""). In particular, after invoking
      * this method, the error message of this object can no longer be null.
+     *
+     * @param pre string to prepend.
+     * @param post string to append.
      */
     public void extendMessage(String pre, String post) {
         if (pre == null) {

Reply via email to