Changeset 813
- Timestamp:
- 2008-11-25 10:34:31 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/kauri-restlet-util/src/main/java/org/kauriproject/util/restlet/ResponseUtil.java
r452 r813 18 18 return response; 19 19 } else if (status.equals(Status.CLIENT_ERROR_NOT_FOUND)) { 20 throw new ResourceNotFoundException("Not found: " + response.getRequest().getRe ferrerRef());20 throw new ResourceNotFoundException("Not found: " + response.getRequest().getResourceRef()); 21 21 } else { 22 throw new RestletClientException("Error fetching: " + response.getRequest().getRe ferrerRef() + ", response is: " + status);22 throw new RestletClientException("Error fetching: " + response.getRequest().getResourceRef() + ", response is: " + status); 23 23 } 24 24 }
Note: See TracChangeset
for help on using the changeset viewer.