public class SLSFactoryException extends FactoryException
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_NAME
The default classname that is associated with the exception.
|
mClassname| Constructor and Description |
|---|
SLSFactoryException(java.lang.String msg)
Constructs a
SLSFactoryException with no detail
message. |
SLSFactoryException(java.lang.String msg,
java.lang.String classname)
Constructs a
SLSFactoryException with the specified detailed
message. |
SLSFactoryException(java.lang.String msg,
java.lang.String classname,
java.lang.Throwable cause)
Constructs a
SLSFactoryException with the
specified detailed message and a cause. |
SLSFactoryException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a
SLSFactoryException with the
specified detailed message and a cause. |
convertException, convertException, convertException, getClassnamepublic static final java.lang.String DEFAULT_NAME
public SLSFactoryException(java.lang.String msg)
SLSFactoryException with no detail
message. The associated classname is set to value specified by
DEFAULT_NAME.msg - the detailed message.DEFAULT_NAMEpublic SLSFactoryException(java.lang.String msg,
java.lang.String classname)
SLSFactoryException with the specified detailed
message.msg - is the detailed message.classname - the name of class that was trying to be instantiated or
some other signifier like module name.public SLSFactoryException(java.lang.String msg,
java.lang.Throwable cause)
SLSFactoryException with the
specified detailed message and a cause. The associated classname is set
to value specified by DEFAULT_NAME.msg - is the detailed message that is to be logged.cause - is the cause (which is saved for later retrieval by the
Throwable.getCause() method). A null
value is permitted, and indicates that the cause is nonexistent or
unknown.DEFAULT_NAMEpublic SLSFactoryException(java.lang.String msg,
java.lang.String classname,
java.lang.Throwable cause)
SLSFactoryException with the
specified detailed message and a cause.msg - is the detailed message that is to be logged.classname - the name of class that was trying to be instantiated.cause - is the cause (which is saved for later retrieval by the
Throwable.getCause() method). A null
value is permitted, and indicates that the cause is nonexistent or
unknown.