Plumtree UI Infrastructure API  
 

ILoginHelper.GetDetailedFailureMessage Method 

This method gets an error message suitable for display to the user from the supplied exception (i.e. localized and without any details that a hacker could exploit, such as whether or not that particular user name is valid).

string GetDetailedFailureMessage(
   Exception exception,
   ISessionManager subSession,
   IApplication application
);

Parameters

exception
subSession
application

Return Value

String the error message for the user (return "" instead of null if necessary)

See Also

ILoginHelper Interface | com.plumtree.uiinfrastructure.login Namespace