Skip to content

Commit a52acc2

Browse files
authored
docs: add @since to MalformedPackageURLException constructors (#184)
1 parent 1307449 commit a52acc2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/java/com/github/packageurl/MalformedPackageURLException.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public class MalformedPackageURLException extends Exception {
3434

3535
/**
3636
* Constructs a {@code MalformedPackageURLException} with no detail message.
37+
*
38+
* @since 1.0.0
3739
*/
3840
public MalformedPackageURLException() {
3941
}
@@ -42,7 +44,8 @@ public MalformedPackageURLException() {
4244
* Constructs a {@code MalformedPackageURLException} with the
4345
* specified detail message.
4446
*
45-
* @param msg the detail message.
47+
* @param msg the detail message
48+
* @since 1.0.0
4649
*/
4750
public MalformedPackageURLException(@Nullable String msg) {
4851
super(msg);
@@ -54,6 +57,7 @@ public MalformedPackageURLException(@Nullable String msg) {
5457
*
5558
* @param message the detail message
5659
* @param cause the cause
60+
* @since 1.6.0
5761
*/
5862
public MalformedPackageURLException(String message, Throwable cause) {
5963
super(message, cause);
@@ -64,6 +68,7 @@ public MalformedPackageURLException(String message, Throwable cause) {
6468
* message of {@code (cause==null ? null : cause.toString())}.
6569
*
6670
* @param cause the cause
71+
* @since 1.6.0
6772
*/
6873
public MalformedPackageURLException(Throwable cause) {
6974
super(cause);

0 commit comments

Comments
 (0)