|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.mucommander.conf.ConfigurationException
public class ConfigurationException
Encapsulates a general configuration error.
This class can contain basic error information from either the com.mucommander.conf API
or the application. Application writers can subclass it to provide additional functionality. Different
classes of the com.mucommander.conf API may throw this exception or any exception subclassed
from it.
If the application needs to pass through other types of exceptions, it must wrap them in a
ConfigurationException or an exception derived from it.
| Constructor Summary | |
|---|---|
ConfigurationException(java.lang.String message)
Creates a new configuration exception. |
|
ConfigurationException(java.lang.String message,
java.lang.Throwable cause)
Creates a new configuration exception from an existing exception. |
|
ConfigurationException(java.lang.Throwable cause)
Creates a new configuration exception wrapping an existing exception. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationException(java.lang.String message)
message - the error message.public ConfigurationException(java.lang.Throwable cause)
The existing exception will be embedded in the new one, and its message will
become the default message for the ConfigurationException.
cause - the exception to be wrapped in a ConfigurationException.
public ConfigurationException(java.lang.String message,
java.lang.Throwable cause)
The existing exception will be embedded in the new one, but the new exception will have its own message.
message - the detail message.cause - the exception to be wrapped in a ConfigurationException.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard