Package org.intermine.web.struts.oauth2
Class ForseenProblem
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.intermine.web.struts.oauth2.ForseenProblem
-
- All Implemented Interfaces:
java.io.Serializable
public class ForseenProblem extends java.lang.Exception
An exception type to plaster over the absence of first-class continuations in java. Represents a problem that has been foreseen, and handled.- Author:
- Alex Kalderimis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ForseenProblem(java.lang.String msgKey)
Construct one of these objects.ForseenProblem(java.lang.String msgKey, java.lang.Object... args)
Construct one of these objects.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.struts.action.ActionMessage
getActionMessage()
Get a struts action message, rather than a simple string message.
-
-
-
Constructor Detail
-
ForseenProblem
public ForseenProblem(java.lang.String msgKey)
Construct one of these objects.- Parameters:
msgKey
- The action message key to use.
-
ForseenProblem
public ForseenProblem(java.lang.String msgKey, java.lang.Object... args)
Construct one of these objects.- Parameters:
msgKey
- The action message key.args
- The arguments to the action message.
-
-