| java.lang.Object com.sun.jbi.binding.file.util.UtilBase
All known Subclasses: com.sun.jbi.binding.file.EndpointManager, com.sun.jbi.binding.file.util.DeployDescriptorReader, com.sun.jbi.binding.file.FileThreads, com.sun.jbi.binding.file.util.WSDLFileReader, com.sun.jbi.binding.file.util.ConfigReader, com.sun.jbi.binding.file.util.WSDL11FileValidator, com.sun.jbi.binding.file.util.DeployHelper, com.sun.jbi.binding.file.util.WSDLFileValidator, com.sun.jbi.binding.file.util.WSDL11FileReader,
UtilBase | public class UtilBase (Code) | | Base class that has methods for all the usability. All classes which require
supporting error/warning extend this.
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 all the errors and warning.
|
getError | public String getError()(Code) | | Returns the error string.
error string. |
getException | public Exception getException()(Code) | | Returns exception.
exception. |
getWarning | public String getWarning()(Code) | | Returns any warning message.
warning string. |
isValid | public boolean isValid()(Code) | | Checks if there is an error on exception.
true if valid. |
setError | public void setError(String err)(Code) | | Sets the error string.
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 valid.
Parameters: valid - true or false. |
setWarning | protected void setWarning(String warn)(Code) | | Sets the warning.
Parameters: warn - warning string. |
|
|