| java.lang.Object com.sun.jbi.binding.jms.util.UtilBase
All known Subclasses: com.sun.jbi.binding.jms.mq.MQSession, com.sun.jbi.binding.jms.deploy.WSDLFileReader, com.sun.jbi.binding.jms.mq.MQConnection, com.sun.jbi.binding.jms.deploy.WSDLFileValidator, com.sun.jbi.binding.jms.mq.MQManager, com.sun.jbi.binding.jms.deploy.ConfigReader, com.sun.jbi.binding.jms.deploy.SimpleRegistryImpl, com.sun.jbi.binding.jms.handler.MessageHandlerImpl, com.sun.jbi.binding.jms.mq.MQDestination, com.sun.jbi.binding.jms.EndpointManager, com.sun.jbi.binding.jms.deploy.DeployHelper, com.sun.jbi.binding.jms.handler.MessageAdaptorImpl, com.sun.jbi.binding.jms.deploy.WSDL11FileReader, com.sun.jbi.binding.jms.config.Config,
UtilBase | public class UtilBase (Code) | | Base class that supports error handling.
author: Sun Microsystems Inc. |
Constructor Summary | |
public | UtilBase() Creates a new UtilBase object. |
UtilBase | public UtilBase()(Code) | | Creates a new UtilBase object.
|
clear | public void clear()(Code) | | Clears the error and warning.
|
getError | public String getError()(Code) | | Gets the error.
error string. |
getException | public Exception getException()(Code) | | Gets the exception.
exception. |
getWarning | public String getWarning()(Code) | | Gets the warning.
warning string. |
isValid | public boolean isValid()(Code) | | Checks the validity.
true if valid. |
setError | public void setError(String err)(Code) | | Sets the error.
Parameters: err - error string. |
setException | public void setException(Exception ex)(Code) | | Sets the exception.
Parameters: ex - exception. |
setValid | protected void setValid(boolean valid)(Code) | | Sets the validity.
Parameters: valid - true/false. |
setWarning | protected void setWarning(String warn)(Code) | | Sets the warning.
Parameters: warn - warnign string. |
|
|