Package com.iplanet.dpro.session
Class SessionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.identity.shared.locale.L10NMessageImpl
-
- com.iplanet.dpro.session.SessionException
-
- All Implemented Interfaces:
L10NMessage,Serializable
- Direct Known Subclasses:
InvalidSessionIdException,SessionTimedOutException
public class SessionException extends L10NMessageImpl
ASessionExceptionis thrown if the Naming Service can not find a URL for the session service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionException(String msg)Constructs an instance of theSessionExceptionclass.SessionException(String bundleName, String errCode, Object[] args)Constructs an instance of theSessionExceptionclass with localizable error messageSessionException(Throwable t)Constructs an instance of theSessionExceptionclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetL10NMessage()Gets the Localized message string.-
Methods inherited from class com.sun.identity.shared.locale.L10NMessageImpl
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SessionException
public SessionException(String msg)
Constructs an instance of theSessionExceptionclass.- Parameters:
msg- The message provided by the object which is throwing the exception
-
SessionException
public SessionException(String bundleName, String errCode, Object[] args)
Constructs an instance of theSessionExceptionclass with localizable error message- Parameters:
bundleName- Resource Bundle Name to be used for getting localized error message.errCode- Key to resource bundle. You can useResourceBundle rb = ResourceBunde.getBundle (rbName,locale); String localizedStr = rb.getString(errorCode).args- arguments to message. If it is not present pass the as null.
-
SessionException
public SessionException(Throwable t)
Constructs an instance of theSessionExceptionclass.- Parameters:
t- TheThrowableobject provided by the object which is throwing the exception.
-
-
Method Detail
-
getL10NMessage
public String getL10NMessage()
Gets the Localized message string.
-
-