public class SessionException extends L10NMessageImpl
SessionException
is thrown if the Naming Service can not
find a URL for the session service.Constructor and Description |
---|
SessionException(String msg)
Constructs an instance of the
SessionException class. |
SessionException(String bundleName,
String errCode,
Object[] args)
Constructs an instance of the
SessionException class with
localizable error message |
SessionException(Throwable t)
Constructs an instance of the
SessionException class. |
Modifier and Type | Method and Description |
---|---|
String |
getL10NMessage()
Gets the Localized message string.
|
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SessionException(String msg)
SessionException
class.msg
- The message provided by the object which is throwing the
exceptionpublic SessionException(String bundleName, String errCode, Object[] args)
SessionException
class with
localizable error messagebundleName
- Resource Bundle Name to be used for getting localized
error message.errCode
- Key to resource bundle. You can use ResourceBundle
rb = ResourceBunde.getBundle (rbName,locale); String localizedStr
= rb.getString(errorCode)
.args
- arguments to message. If it is not present pass the as null.public SessionException(Throwable t)
SessionException
class.t
- The Throwable
object provided by the object which
is throwing the exception.public String getL10NMessage()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.