com.ibm.ws.exception
Class ConfigurationWarning
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.ws.exception.WsException
-
- com.ibm.ws.exception.WsRuntimeFwException
-
- com.ibm.ws.exception.ConfigurationWarning
-
- All Implemented Interfaces:
- WsNestedException, java.io.Serializable
public class ConfigurationWarning extends WsRuntimeFwException
AConfigurationWarningis used to signal to the runtime framework that a non-fatal initialization error has occurred. Server startup will proceed as usual.- See Also:
com.ibm.wsspi.runtime.component.WsComponent#initialize(Object), Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ConfigurationWarning(java.lang.String msg)Constructs a newConfigurationWarningwith the specified detail message.ConfigurationWarning(java.lang.String msg, java.lang.Throwable t)Constructs a newConfigurationWarningwith the specified detail message and cause.ConfigurationWarning(java.lang.Throwable t)Constructs a newConfigurationWarningwith the specified cause and a message which typically contains the class and detail message ofcause.
-
Method Summary
-
Methods inherited from class com.ibm.ws.exception.WsException
getCause, initCause
-
-
-
-
Constructor Detail
-
ConfigurationWarning
public ConfigurationWarning(java.lang.String msg)
Constructs a newConfigurationWarningwith the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toWsException.initCause(java.lang.Throwable)- Parameters:
msg- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.
-
ConfigurationWarning
public ConfigurationWarning(java.lang.Throwable t)
Constructs a newConfigurationWarningwith the specified cause and a message which typically contains the class and detail message ofcause. This constructor is useful for exceptions that are little more than wrappers for other throwables.- Parameters:
t- the cause (which is saved for later retrieval by theWsException.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
ConfigurationWarning
public ConfigurationWarning(java.lang.String msg, java.lang.Throwable t)Constructs a newConfigurationWarningwith the specified detail message and cause.Note that the detail message associated with
causeis not automatically incorporated in this exception's detail message.- Parameters:
msg- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).t- the cause (which is saved for later retrieval by theWsException.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
-