    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class com.ups.xmlsdk.xpci.Error

    java.lang.Object
       |
       +----com.ups.xmlsdk.xpci.Error

public class Error
extends Object
implements Serializable

The Error Class is to be used as a data container. The instance variables available in the Error Class are those provided by the XPCI for package activity.

##

Error()
  ErrorBean constructor.

##

getErrorCode()
  Returns the instance variable value for Error Code.
getErrorDescription()
  Returns the instance variable value for Error Description.
getErrorDigest()
  Returns the instance variable value for Error Digests.
getErrorLocation()
  Returns the instance variable value for Error Locations.
getMinimumRetry()
  Returns the instance variable value for Error Minimum Retry.
getSeverity()
  Returns the instance variable value for Error Severity.
setErrorCode(String)
  Sets the instance variable value for Error Code.
setErrorDescription(String)
  Sets the instance variable value for Error Description.
setErrorDigest(Vector)
  Sets the instance variable value for Error Digests.
setErrorLocation(Vector)
  Sets the instance variable value for Error Locations.
setMinimumRetry(String)
  Sets the instance variable value for Error Minimum Retry.
setSeverity(String)
  Sets the instance variable value for Error Severity.
toString()
  Returns a String representation of the Error's state, token delimeted (=).

##

Error

     public Error()

  ErrorBean constructor.

##

getErrorCode

     public String getErrorCode()

  Returns the instance variable value for Error Code.

  Returns:
    java.lang.String

getErrorDescription

     public String getErrorDescription()

  Returns the instance variable value for Error Description.

  Returns:
    java.lang.String

getErrorDigest

     public Vector getErrorDigest()

  Returns the instance variable value for Error Digests.

  Returns:
    java.lang.Vector

getErrorLocation

     public Vector getErrorLocation()

  Returns the instance variable value for Error Locations.

  Returns:
    java.util.Vector

getMinimumRetry

     public String getMinimumRetry()

  Returns the instance variable value for Error Minimum Retry.

  Returns:
    java.lang.String

getSeverity

     public String getSeverity()

  Returns the instance variable value for Error Severity.

  Returns:
    java.lang.String

setErrorCode

     public void setErrorCode(String newErrorCode)

  Sets the instance variable value for Error Code.

  Parameters:
    newErrorCode - java.lang.String

setErrorDescription

     public void setErrorDescription(String newErrorDescription)

  Sets the instance variable value for Error Description.

  Parameters:
    newErrorDescription - java.lang.String

setErrorDigest

     public void setErrorDigest(Vector newErrorDigest)

  Sets the instance variable value for Error Digests.

  Parameters:
    newErrorDigest - java.util.Vector

setErrorLocation

     public void setErrorLocation(Vector newErrorLocation)

  Sets the instance variable value for Error Locations.

  Parameters:
    errorLocation - java.util.Vector

setMinimumRetry

     public void setMinimumRetry(String newMinimumRetry)

  Sets the instance variable value for Error Minimum Retry.

  Parameters:
    newMinimumRetry - java.lang.String

setSeverity

     public void setSeverity(String newSeverity)

  Sets the instance variable value for Error Severity.

  Parameters:
    newSeverity - java.lang.String

toString

     public String toString()

  Returns a String representation of the Error's state, token delimeted (=).

  Returns:
    java.lang.String
  Overrides:
    toString in class Object

    All Packages  Class Hierarchy  This Package  Previous  Next  Index