|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.repository.model.workflow.ErrorAction
public class ErrorAction
This is a marker class. Setting a WorkflowTransition's action to an instance of ErrorAction indicates there was a problem instantiating the true action -- in most cases, the reason will be recorded in the "message" member. However, when /import reads transitions with bogus actions, the true error message is lost (although it still appears in the log) because the RDF representation of the transition only remembers the class of ErrorAction, not its message.
| Constructor Summary | |
|---|---|
ErrorAction()
Default Constructor |
|
ErrorAction(java.lang.String m)
Constructor, with error message |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Getter for message |
void |
onTransition(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI resource,
org.openrdf.model.Value param)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorAction()
public ErrorAction(java.lang.String m)
| Method Detail |
|---|
public java.lang.String getMessage()
public void onTransition(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI resource,
org.openrdf.model.Value param)
throws java.lang.Exception
onTransition in interface WorkflowActionjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||