Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ protected String getActionNameForLogging() {
* @param context the action execution context, for accessing and setting data in "flow scope" or "request scope"
* @return the non-<code>null</code> action result, in which case the <code>doExecute()</code> will not be called,
* or <code>null</code> if the <code>doExecute()</code> method should be called to obtain the action result
* @throws Exception an <b>unrecoverable</b> exception occured, either checked or unchecked
* @throws Exception an <b>unrecoverable</b> exception occurred, either checked or unchecked
*/
protected Event doPreExecute(RequestContext context) throws Exception {
return null;
Expand All @@ -225,7 +225,7 @@ protected Event doPreExecute(RequestContext context) throws Exception {
* Template hook method subclasses should override to encapsulate their specific action execution logic.
* @param context the action execution context, for accessing and setting data in "flow scope" or "request scope"
* @return the action result event
* @throws Exception an <b>unrecoverable</b> exception occured, either checked or unchecked
* @throws Exception an <b>unrecoverable</b> exception occurred, either checked or unchecked
*/
protected abstract Event doExecute(RequestContext context) throws Exception;

Expand All @@ -235,7 +235,7 @@ protected Event doPreExecute(RequestContext context) throws Exception {
* <p>
* This implementation does nothing.
* @param context the action execution context, for accessing and setting data in "flow scope" or "request scope"
* @throws Exception an <b>unrecoverable</b> exception occured, either checked or unchecked
* @throws Exception an <b>unrecoverable</b> exception occurred, either checked or unchecked
*/
protected void doPostExecute(RequestContext context) throws Exception {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ public Event bindAndValidate(RequestContext context) throws Exception {
* {@link #doBind(RequestContext, DataBinder)} hook.
* @param context the action execution context, for accessing and setting data in "flow scope" or "request scope"
* @return "success" if there are no binding errors, "error" otherwise
* @throws Exception an <b>unrecoverable</b> exception occured, either checked or unchecked
* @throws Exception an <b>unrecoverable</b> exception occurred, either checked or unchecked
*/
public Event bind(RequestContext context) throws Exception {
if (logger.isDebugEnabled()) {
Expand All @@ -529,7 +529,7 @@ public Event bind(RequestContext context) throws Exception {
* {@link #doValidate(RequestContext, Object, Errors)} hook.
* @param context the action execution context, for accessing and setting data in "flow scope" or "request scope"
* @return "success" if there are no validation errors, "error" otherwise
* @throws Exception an <b>unrecoverable</b> exception occured, either checked or unchecked
* @throws Exception an <b>unrecoverable</b> exception occurred, either checked or unchecked
* @see #getValidator()
*/
public Event validate(RequestContext context) throws Exception {
Expand Down Expand Up @@ -561,7 +561,7 @@ public Event validate(RequestContext context) throws Exception {
* custom methods as part of a single action chain.
* @param context the request context
* @return "success" if the reset action completed successfully
* @throws Exception if an exception occured
* @throws Exception if an exception occurred
* @see #createFormObject(RequestContext)
*/
public Event resetForm(RequestContext context) throws Exception {
Expand All @@ -576,7 +576,7 @@ public Event resetForm(RequestContext context) throws Exception {
* Create the new form object and put it in the configured {@link #getFormObjectScope() scope}.
* @param context the flow execution request context
* @return the new form object
* @throws Exception an exception occured creating the form object
* @throws Exception an exception occurred creating the form object
*/
private Object initFormObject(RequestContext context) throws Exception {
if (logger.isDebugEnabled()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public interface ConversationManager {
* Begin a new conversation.
* @param conversationParameters descriptive conversation parameters
* @return a service interface allowing access to the conversation context
* @throws ConversationException an exception occured
* @throws ConversationException an exception occurred
*/
Conversation beginConversation(ConversationParameters conversationParameters) throws ConversationException;

Expand Down Expand Up @@ -67,7 +67,7 @@ public interface ConversationManager {
* {@link ConversationId#toString()}.
* @param encodedId the encoded id
* @return the parsed conversation id
* @throws ConversationException an exception occured parsing the id
* @throws ConversationException an exception occurred parsing the id
*/
ConversationId parseConversationId(String encodedId) throws ConversationException;
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Thrown when no transition can be matched given the occurence of an event in the context of a flow execution request.
* <p>
* Typically this happens because there is no "handler" transition for the last event that occured.
* Typically this happens because there is no "handler" transition for the last event that occurred.
*
* @author Keith Donald
* @author Erwin Vervaet
Expand All @@ -37,7 +37,7 @@ public class NoMatchingTransitionException extends FlowExecutionException {
* Create a new no matching transition exception.
* @param flowId the current flow
* @param stateId the state that could not be transitioned out of
* @param event the event that occured that could not be matched to a transition
* @param event the event that occurred that could not be matched to a transition
* @param message the message
*/
public NoMatchingTransitionException(String flowId, String stateId, Event event, String message) {
Expand All @@ -49,7 +49,7 @@ public NoMatchingTransitionException(String flowId, String stateId, Event event,
* Create a new no matching transition exception.
* @param flowId the current flow
* @param stateId the state that could not be transitioned out of
* @param event the event that occured that could not be matched to a transition
* @param event the event that occurred that could not be matched to a transition
* @param message the message
* @param cause the underlying cause
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public interface DocumentLoader {
* Load the XML-based document from the external resource.
* @param resource the document resource
* @return the loaded (parsed) document
* @throws IOException an exception occured accessing the resource input stream
* @throws ParserConfigurationException an exception occured building the document parser
* @throws SAXException a error occured during document parsing
* @throws IOException an exception occurred accessing the resource input stream
* @throws ParserConfigurationException an exception occurred building the document parser
* @throws SAXException a error occurred during document parsing
*/
Document loadDocument(Resource resource) throws IOException, ParserConfigurationException, SAXException;
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class EnterStateVetoException extends FlowExecutionException {
/**
* Create a new enter state veto exception.
* @param flowId the active flow
* @param sourceStateId the current state when the veto operation occured
* @param sourceStateId the current state when the veto operation occurred
* @param vetoedStateId the state for which entering is vetoed
* @param message a descriptive message
*/
Expand All @@ -46,7 +46,7 @@ public EnterStateVetoException(String flowId, String sourceStateId, String vetoe
/**
* Create a new enter state veto exception.
* @param flowId the active flow
* @param sourceStateId the current state when the veto operation occured
* @param sourceStateId the current state when the veto operation occurred
* @param vetoedStateId the state for which entering is vetoed
* @param message a descriptive message
* @param cause the underlying cause
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public FlowExecutionException(String flowId, String stateId, String message) {

/**
* Creates a new flow execution exception.
* @param flowId the flow where the exception occured
* @param stateId the state where the exception occured
* @param flowId the flow where the exception occurred
* @param stateId the state where the exception occurred
* @param message a descriptive message
* @param cause the root cause
*/
Expand All @@ -65,14 +65,14 @@ public FlowExecutionException(String flowId, String stateId, String message, Thr
}

/**
* Returns the id of the flow definition that was executing when this exception occured.
* Returns the id of the flow definition that was executing when this exception occurred.
*/
public String getFlowId() {
return flowId;
}

/**
* Returns the id of the state definition where the exception occured. Could be null if no state was active at the
* Returns the id of the state definition where the exception occurred. Could be null if no state was active at the
* time when the exception was thrown.
*/
public String getStateId() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public interface View {

/**
* Render this view's content.
* @throws IOException if an IO Exception occured rendering the view
* @throws IOException if an IO Exception occurred rendering the view
*/
void render() throws IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import org.springframework.webflow.core.FlowException;

/**
* The root of the {@link FlowExecutionRepository} exception hierarchy. Indicates a problem occured either saving,
* The root of the {@link FlowExecutionRepository} exception hierarchy. Indicates a problem occurred either saving,
* restoring, or invalidating a managed flow execution.
*
* @author Erwin Vervaet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void readExternal(ObjectInput in) throws IOException, ClassNotFoundExcept
/**
* Return the flow execution data in its raw byte[] form. Will decompress if necessary.
* @return the byte array
* @throws IOException a problem occured with decompression
* @throws IOException a problem occurred with decompression
*/
protected byte[] getFlowExecutionData() throws IOException {
if (isCompressed()) {
Expand Down