Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix spelling.
  • Loading branch information
Ryan Morgan committed Feb 10, 2010
1 parent 93774ba commit a5ab88e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/org/hyperic/hq/hqapi1/ErrorCode.java
Expand Up @@ -22,10 +22,10 @@ public enum ErrorCode {
INVALID_PARAMETERS("InvalidParameters",
"The given parameters are incorrect"),
/**
* An unexpected error occured.
* An unexpected error occurred.
*/
UNEXPECTED_ERROR("UnexpectedError",
"An unexpected error occured"),
"An unexpected error occurred"),
/**
* The current user does not have permission for this operation.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/org/hyperic/hq/hqapi1/HQConnection.java
Expand Up @@ -240,7 +240,7 @@ private <T> T runMethod(HttpMethodBase method, String uri,
// Some other server blow up.
error = new ServiceError();
error.setErrorCode("UnexpectedError");
error.setReasonText("An unexpected error occured");
error.setReasonText("An unexpected error occurred");
return getErrorResponse(resultClass, error);
}
} catch (SocketException e) {
Expand Down

0 comments on commit a5ab88e

Please sign in to comment.