public class ConfigurationException
extends java.lang.RuntimeException
It is thrown by the MMSServiceFactory
if the service configuration contains errors or no suitable MMSService
implementation can be created.
Constructor and Description |
---|
ConfigurationException(java.lang.String message)
Constructs a new configuration exception with the specified detail message.
|
ConfigurationException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new configuration exception with the specified detail message and
cause.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause()
Returns the cause of this exception or
null if the
cause is nonexistent or unknown. |
java.lang.String |
getMessage()
Returns the detail message string of this configuration exception.
|
void |
printStackTrace()
Prints this MessageException and its backtrace to the
standard error stream.
|
void |
printStackTrace(java.io.PrintStream s)
Prints this MessageException and its backtrace to the specified print stream.
|
void |
printStackTrace(java.io.PrintWriter s)
Prints this MessageException and its backtrace to the specified
print writer.
|
public ConfigurationException(java.lang.String message)
message
- the detail message. The detail message is saved for
later retrieval by the getMessage()
method.public ConfigurationException(java.lang.String message, java.lang.Throwable cause)
message
- the detail message (which is saved for later retrieval
by the getMessage()
method).cause
- the cause (which is saved for later retrieval by the
getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public java.lang.Throwable getCause()
null
if the
cause is nonexistent or unknown. (The cause is the throwable that
caused this configuration exception to get thrown.)getCause
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- PrintStream
to use for outputpublic void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- PrintWriter
to use for outputobject XP, Inc. © 2000-2013. All rights reserved object XP