agonism.dovetail.site
Class RequestError

java.lang.Object
  |
  +--agonism.dovetail.site.RequestError

public class RequestError
extends java.lang.Object


Constructor Summary
RequestError(Form form, FormElement[] elements, java.lang.String message)
           
RequestError(Form form, FormElement[] elements, java.lang.String message, java.lang.Throwable t)
           
RequestError(Form form, FormElement element, java.lang.String message)
           
RequestError(Form form, FormElement element, java.lang.String message, java.lang.Throwable t)
           
RequestError(Form form, java.lang.String message)
           
 
Method Summary
 FormElement[] getFormElements(Site site)
           
 java.lang.String getFormName()
           
 java.lang.String getMessage()
           
 boolean isRelatedToElement(FormElement element)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestError

public RequestError(Form form,
                    java.lang.String message)

RequestError

public RequestError(Form form,
                    FormElement element,
                    java.lang.String message)

RequestError

public RequestError(Form form,
                    FormElement[] elements,
                    java.lang.String message)

RequestError

public RequestError(Form form,
                    FormElement element,
                    java.lang.String message,
                    java.lang.Throwable t)

RequestError

public RequestError(Form form,
                    FormElement[] elements,
                    java.lang.String message,
                    java.lang.Throwable t)
Method Detail

isRelatedToElement

public boolean isRelatedToElement(FormElement element)

getFormName

public java.lang.String getFormName()

getFormElements

public FormElement[] getFormElements(Site site)

getMessage

public java.lang.String getMessage()

toString

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