Updated custom Exception javadocs.

This commit is contained in:
Micah Silverman 2015-09-23 03:25:29 -04:00
parent 5dd95b6755
commit 72acd649c7
3 changed files with 9 additions and 5 deletions

View File

@ -16,8 +16,8 @@
package io.jsonwebtoken; package io.jsonwebtoken;
/** /**
* IncorrectClaimException is a subclass of the {@link InvalidClaimException} that is thrown after it is found that an * Exception thrown when discovering that a required claim does not equal the required value, indicating the JWT is
* expected claim has a value that is not expected. * invalid and may not be used.
* *
* @since 0.6 * @since 0.6
*/ */

View File

@ -16,7 +16,11 @@
package io.jsonwebtoken; 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 * @since 0.6
*/ */

View File

@ -16,8 +16,8 @@
package io.jsonwebtoken; package io.jsonwebtoken;
/** /**
* MissingClaimException is a subclass of the {@link InvalidClaimException} that is thrown after it is found that an * Exception thrown when discovering that a required claim is not present, indicating the JWT is
* expected claim is missing. * invalid and may not be used.
* *
* @since 0.6 * @since 0.6
*/ */