Class AuthException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AuthException
    extends java.lang.RuntimeException
    An exception associated with Authentication or Authorization.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthException​(int statusCode, java.lang.String message)  
      AuthException​(java.lang.String message)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Integer> statusCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AuthException

        public AuthException​(int statusCode,
                             java.lang.String message)
      • AuthException

        public AuthException​(java.lang.String message)
    • Method Detail

      • statusCode

        public java.util.Optional<java.lang.Integer> statusCode()