Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 16, 2024
1 parent 28c1441 commit 81e13f0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package org.apache.commons.compress.archivers;

/**
* Archiver related Exception.
* Signals that an Archive exception of some sort has occurred.
*/
public class ArchiveException extends Exception {

Expand All @@ -29,7 +29,7 @@ public class ArchiveException extends Exception {
/**
* Constructs a new exception with the specified detail message. The cause is not initialized.
*
* @param message the detail message.
* @param message The message (which is saved for later retrieval by the {@link #getMessage()} method).
*/
public ArchiveException(final String message) {
super(message);
Expand All @@ -38,8 +38,9 @@ public ArchiveException(final String message) {
/**
* Constructs a new exception with the specified detail message and cause.
*
* @param message the detail message.
* @param cause the cause.
* @param message The message (which is saved for later retrieval by the {@link #getMessage()} method).
* @param cause The cause (which is saved for later retrieval by the {@link #getCause()} method). A null value indicates that the cause is nonexistent or
* unknown.
*/
public ArchiveException(final String message, final Exception cause) {
super(message, cause);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
package org.apache.commons.compress.compressors;

/**
* Compressor related exception
* Signals that an Compressor exception of some sort has occurred.
*/
public class CompressorException extends Exception {

/** Serial */
/** Serial. */
private static final long serialVersionUID = -2932901310255908814L;

/**
* Constructs a new exception with the specified detail message. The cause is not initialized.
*
* @param message the detail message
* @param message The message (which is saved for later retrieval by the {@link #getMessage()} method).
*/
public CompressorException(final String message) {
super(message);
Expand All @@ -38,8 +38,9 @@ public CompressorException(final String message) {
/**
* Constructs a new exception with the specified detail message and cause.
*
* @param message the detail message
* @param cause the cause
* @param message The message (which is saved for later retrieval by the {@link #getMessage()} method)
* @param cause The cause (which is saved for later retrieval by the {@link #getCause()} method). A null indicates that the cause is nonexistent or
* unknown.
*/
public CompressorException(final String message, final Throwable cause) {
super(message, cause);
Expand Down

0 comments on commit 81e13f0

Please sign in to comment.