Skip to content

Commit

Permalink
Updated custom Exception javadocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dogeared committed Sep 23, 2015
1 parent 5dd95b6 commit 72acd64
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/jsonwebtoken/IncorrectClaimException.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
package io.jsonwebtoken;

/**
* IncorrectClaimException is a subclass of the {@link InvalidClaimException} that is thrown after it is found that an
* expected claim has a value that is not expected.
* Exception thrown when discovering that a required claim does not equal the required value, indicating the JWT is
* invalid and may not be used.
*
* @since 0.6
*/
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/io/jsonwebtoken/InvalidClaimException.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
package io.jsonwebtoken;

/**
* InvalidClaimException is a subclass of the {@link ClaimJwtException} that is thrown after a validation of an JTW claim failed.
* Exception indicating a parsed claim is invalid in some way. Subclasses reflect the specific
* reason the claim is invalid.
*
* @see IncorrectClaimException
* @see MissingClaimException
*
* @since 0.6
*/
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/jsonwebtoken/MissingClaimException.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
package io.jsonwebtoken;

/**
* MissingClaimException is a subclass of the {@link InvalidClaimException} that is thrown after it is found that an
* expected claim is missing.
* Exception thrown when discovering that a required claim is not present, indicating the JWT is
* invalid and may not be used.
*
* @since 0.6
*/
Expand Down

0 comments on commit 72acd64

Please sign in to comment.