|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.objectxp.mms.ConfigurationException
public class ConfigurationException
This exception is used for signaling configuration problems.
It is thrown by the MMSServiceFactory
if the service configuration contains errors or no suitable MMSService
implementation can be created.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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.)| Method Detail |
|---|
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.Throwablepublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwables - PrintStream to use for outputpublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwables - PrintWriter to use for output
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||