com.plumtree.portaluiinfrastructure.helpers
Class PortletErrorHelper

java.lang.Object
  extended by com.plumtree.portaluiinfrastructure.helpers.PortletErrorHelper

public class PortletErrorHelper
extends java.lang.Object

This helper class provides methods to check markup information for errors.


Constructor Summary
PortletErrorHelper()
           
 
Method Summary
 int GetErrorCode(java.lang.Object[][] objArrMarkup)
          Get the error code from the markup information.
 java.lang.String GetErrorMessage(java.lang.Object[][] objArrMarkup)
          Get the error message from the markup information.
 boolean IsErrorContentArray(java.lang.Object[][] objArrMarkup)
          Check if there was an HTTP error in the markup information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletErrorHelper

public PortletErrorHelper()
Method Detail

IsErrorContentArray

public boolean IsErrorContentArray(java.lang.Object[][] objArrMarkup)
Check if there was an HTTP error in the markup information.

Parameters:
objArrMarkup - the markup array to check for errors.
Returns:
true if the markup array has error information in it.

GetErrorCode

public int GetErrorCode(java.lang.Object[][] objArrMarkup)
Get the error code from the markup information.

Parameters:
objArrMarkup - the markup array used to get the error code.
Returns:
the error code from the markup array.

GetErrorMessage

public java.lang.String GetErrorMessage(java.lang.Object[][] objArrMarkup)
Get the error message from the markup information.

Parameters:
objArrMarkup - the markup array used to get the error message.
Returns:
the error message from the markup array.



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.