|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.riotfamily.forms.factory.FormDefinitionException
org.riotfamily.forms.factory.FormRepositoryException
public class FormRepositoryException
Exception thrown when a FormRepository encounters an internal error, and its definitions are invalid: for example, if an XML document containing form definitions isn't well-formed.
| Constructor Summary | |
|---|---|
FormRepositoryException(Resource documentLocation,
String formId,
String msg)
Create a new FormRepositoryException. |
|
FormRepositoryException(Resource documentLocation,
String formId,
String msg,
Throwable ex)
Create a new FormRepositoryException. |
|
FormRepositoryException(String msg)
|
|
FormRepositoryException(String resourceDescription,
String formId,
String msg)
Create a new FormRepositoryException. |
|
FormRepositoryException(String resourceDescription,
String formId,
String msg,
Throwable ex)
Create a new FormRepositoryException. |
|
FormRepositoryException(String msg,
Throwable ex)
|
|
| Method Summary | |
|---|---|
String |
getFormId()
Return the id of the form requested, if any. |
String |
getResourceDescription()
Return the description of the resource that the form definition came from, if any. |
| Methods inherited from class org.springframework.core.NestedRuntimeException |
|---|
contains, getMessage, getMostSpecificCause, getRootCause |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FormRepositoryException(String msg)
public FormRepositoryException(String msg,
Throwable ex)
public FormRepositoryException(Resource documentLocation,
String formId,
String msg)
documentLocation - descriptor of the resource
location that the form definition came fromformId - the id of the form requestedmsg - the detail message
public FormRepositoryException(Resource documentLocation,
String formId,
String msg,
Throwable ex)
documentLocation - descriptor of the resource
location that the form definition came fromformId - the id of the form requestedmsg - the detail messageex - the root cause
public FormRepositoryException(String resourceDescription,
String formId,
String msg)
resourceDescription - description of the resource
that the form definition came fromformId - the id of the form requestedmsg - the detail message
public FormRepositoryException(String resourceDescription,
String formId,
String msg,
Throwable ex)
resourceDescription - description of the resource
that the form definition came fromformId - the id of the form requestedmsg - the detail messageex - the root cause| Method Detail |
|---|
public String getResourceDescription()
public String getFormId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||