Class LoginFailedHandler


  • public class LoginFailedHandler
    extends java.lang.Object
    To handle login failed exceptions.
    Author:
    harald
    • Constructor Summary

      Constructors 
      Constructor Description
      LoginFailedHandler​(DesktopApplication<?> application, javafx.scene.Parent view, org.tentackle.session.SessionInfo sessionInfo)
      Creates a login failed handler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DesktopApplication<?> getApplication()
      Gets the application.
      org.tentackle.session.SessionInfo getSessionInfo()
      Gets the session info.
      javafx.scene.Parent getView()
      Gets the view.
      void handle​(org.tentackle.session.LoginFailedException ex)
      Handles the login failed exception.
      • Methods inherited from class java.lang.Object

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

      • LoginFailedHandler

        public LoginFailedHandler​(DesktopApplication<?> application,
                                  javafx.scene.Parent view,
                                  org.tentackle.session.SessionInfo sessionInfo)
        Creates a login failed handler.
        Parameters:
        application - the application
        view - the view
        sessionInfo - the session info
    • Method Detail

      • getApplication

        public DesktopApplication<?> getApplication()
        Gets the application.
        Returns:
        the application
      • getView

        public javafx.scene.Parent getView()
        Gets the view.
        Returns:
        the view
      • getSessionInfo

        public org.tentackle.session.SessionInfo getSessionInfo()
        Gets the session info.
        Returns:
        the session info
      • handle

        public void handle​(org.tentackle.session.LoginFailedException ex)
        Handles the login failed exception.
        Parameters:
        ex - the login failed exception