com.ibm.commerce.beans
Class ErrorDataBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.beans.ErrorDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean

public class ErrorDataBean
extends SmartDataBeanImpl

The bean is for displaying error information on a JSP

See Also:
Serialized Form

Fields inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
commandContext
 
Fields inherited from class com.ibm.commerce.beans.InputDataBeanImpl
requestProperties
 
Fields inherited from interface com.ibm.commerce.beans.SmartDataBean
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
ErrorDataBean()
          Constructor for an ErrorDataBean.
 
Method Summary
 java.lang.String getCorrectiveActionMessage()
           
 java.lang.String getCorrectiveActionMessage(java.util.Locale loc)
           
 ECMessage getECCorrectiveActionMessage()
           
 ECMessage getECMessage()
           
 java.lang.String getErrorCode()
           
 java.lang.Throwable getException()
           
 TypedProperty getExceptionData()
           
 java.lang.String getExceptionType()
           
 java.lang.String getMessage()
           
 java.lang.String getMessage(java.util.Locale loc)
           
 java.lang.String getMessageKey()
           
 java.lang.Object[] getMessageParam()
           
 java.lang.String getOriginatingCommand()
           
 TypedProperty getRequestProperties()
          Get Request Properties.
 java.lang.String getStackTrace()
           
 java.lang.String getSystemMessage()
           
 java.lang.String getSystemMessage(java.util.Locale loc)
           
 boolean hasErrorCode(java.lang.String code)
           
 void populate()
          populate the databean
 void populate(ECException e)
           
 void setECCorrectiveActionMessage(ECMessage newValue)
           
 void setECMessage(ECMessage newValue)
           
 void setExceptionType(java.lang.String newValue)
           
 void setOriginatingCommand(java.lang.String newValue)
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
 
Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl
setRequestProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.beans.InputDataBean
setRequestProperties
 

Constructor Detail

ErrorDataBean

public ErrorDataBean()
Constructor for an ErrorDataBean.
Method Detail

getCorrectiveActionMessage

public java.lang.String getCorrectiveActionMessage()

getCorrectiveActionMessage

public java.lang.String getCorrectiveActionMessage(java.util.Locale loc)

getECCorrectiveActionMessage

public ECMessage getECCorrectiveActionMessage()

getECMessage

public ECMessage getECMessage()

getErrorCode

public java.lang.String getErrorCode()

getException

public java.lang.Throwable getException()

getExceptionData

public TypedProperty getExceptionData()

getExceptionType

public java.lang.String getExceptionType()

getMessage

public java.lang.String getMessage()

getMessage

public java.lang.String getMessage(java.util.Locale loc)

getMessageKey

public java.lang.String getMessageKey()

getMessageParam

public java.lang.Object[] getMessageParam()

getOriginatingCommand

public java.lang.String getOriginatingCommand()

getRequestProperties

public TypedProperty getRequestProperties()
Description copied from interface: InputDataBean
Get Request Properties.
Overrides:
getRequestProperties in class InputDataBeanImpl

getStackTrace

public java.lang.String getStackTrace()

getSystemMessage

public java.lang.String getSystemMessage()

getSystemMessage

public java.lang.String getSystemMessage(java.util.Locale loc)

hasErrorCode

public boolean hasErrorCode(java.lang.String code)

populate

public void populate()
Description copied from class: SmartDataBeanImpl
populate the databean
Overrides:
populate in class SmartDataBeanImpl

populate

public void populate(ECException e)

setECCorrectiveActionMessage

public void setECCorrectiveActionMessage(ECMessage newValue)

setECMessage

public void setECMessage(ECMessage newValue)

setExceptionType

public void setExceptionType(java.lang.String newValue)

setOriginatingCommand

public void setOriginatingCommand(java.lang.String newValue)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object