Class AuthenticationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AuthenticationException
    extends java.io.IOException
    AuthenticationException is used when the connect process fails due to an authentication problem. The exception will not include the authentication tokens, but as a subclass of IOException allows the client to distinguish an IO problem from an authentication problem.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthenticationException​(java.lang.String errorMessage)
      Create a new AuthenticationException.
    • Method Summary

      • 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

      • AuthenticationException

        public AuthenticationException​(java.lang.String errorMessage)
        Create a new AuthenticationException.
        Parameters:
        errorMessage - the error message, see Exception for details