4.6 Exception Class

This subsection describes the classes provided by Application Server from among the exception classes used by the APIs of EJB client applications.

The following table describes the exception classes used by the APIs of EJB client applications:

Table 4-2 Exception classes used by the APIs of EJB client applications

Exception nameContents
com.hitachi.software.ejb.security.base.authentication.NotFoundServerExceptionThis exception is output when you cannot connect to the J2EE server to be logged in and when you try to log in using the login method of the LoginInfoManager class.
Check whether the J2EE server name specified in the ejbserver.serverName property is the same as that of the J2EE server name to be logged in. Also, confirm whether the J2EE server to be logged in is running.
com.hitachi.software.ejb.security.base.authentication.InvalidUserNameExceptionThis exception is thrown when you try to log in using the login method of the LoginInfoManager class and the user name is invalid.
Confirm whether the user name is correct.
com.hitachi.software.ejb.security.base.authentication.InvalidPasswordExceptionThis exception is thrown when you try to log in using the login method of the LoginInfoManager class and the password is invalid.
Confirm whether the password is correct.