org.activemath.webapp.tutor.cgWebService.ErrorHandlerAPI
Class ErrorMessageUtil

java.lang.Object
  extended by org.activemath.webapp.tutor.cgWebService.ErrorHandlerAPI.ErrorMessageUtil

public class ErrorMessageUtil
extends Object

This class generates OMElements that contain error messages


Method Summary
 org.apache.axiom.om.OMElement getErrorMessageOM(String message)
          Generates an OMElement containing the error message provided by the given String
static ErrorMessageUtil getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ErrorMessageUtil getInstance()

getErrorMessageOM

public org.apache.axiom.om.OMElement getErrorMessageOM(String message)
Generates an OMElement containing the error message provided by the given String

Parameters:
message -
Returns:
the OMElement containing the error message.