Class UnrecognizedCriticalHeaderException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- org.forgerock.json.jose.exceptions.JwtRuntimeException
 - 
- org.forgerock.json.jose.exceptions.JwtBuilderException
 - 
- org.forgerock.json.jose.exceptions.JwtReconstructionException
 - 
- org.forgerock.json.jose.exceptions.UnrecognizedCriticalHeaderException
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable
public class UnrecognizedCriticalHeaderException extends JwtReconstructionException
Indicates that the JWT had critical headers that were not recognized by the JWT library and not implemented by the application.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description UnrecognizedCriticalHeaderException(Collection<String> unrecognizedCriticalHeaders)Initializes the exception with the given list of unrecognized critical headers that caused processing to fail. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getUnrecognizedCriticalHeaders()The unrecognized critical headers that caused processing to fail.- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
UnrecognizedCriticalHeaderException
public UnrecognizedCriticalHeaderException(Collection<String> unrecognizedCriticalHeaders)
Initializes the exception with the given list of unrecognized critical headers that caused processing to fail.- Parameters:
 unrecognizedCriticalHeaders- the collection of unrecognized headers.
 
 - 
 
 -