- java.lang.Object
-
- org.tentackle.fx.rdc.app.LoginFailedHandler
-
public class LoginFailedHandler extends java.lang.ObjectTo 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.SessionInfogetSessionInfo()Gets the session info.javafx.scene.ParentgetView()Gets the view.voidhandle(org.tentackle.session.LoginFailedException ex)Handles the login failed exception.
-
-
-
Constructor Detail
-
LoginFailedHandler
public LoginFailedHandler(DesktopApplication<?> application, javafx.scene.Parent view, org.tentackle.session.SessionInfo sessionInfo)
Creates a login failed handler.- Parameters:
application- the applicationview- the viewsessionInfo- 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
-
-