mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
WebDAV/SPP: fixed compilation problem.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@35869 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -318,7 +318,7 @@ public abstract class WebDAVMethod
|
|||||||
* and handling the error conditions.
|
* and handling the error conditions.
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public void execute() throws WebDAVServerException, IOException
|
public void execute() throws WebDAVServerException
|
||||||
{
|
{
|
||||||
// Parse the HTTP headers
|
// Parse the HTTP headers
|
||||||
parseRequestHeaders();
|
parseRequestHeaders();
|
||||||
@@ -343,7 +343,18 @@ public abstract class WebDAVMethod
|
|||||||
// Log message only.
|
// Log message only.
|
||||||
logger.debug("Malformed request body: " + saxParseEx.getMessage());
|
logger.debug("Malformed request body: " + saxParseEx.getMessage());
|
||||||
}
|
}
|
||||||
m_response.sendError(e.getHttpStatusCode());
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
m_response.sendError(e.getHttpStatusCode());
|
||||||
|
}
|
||||||
|
catch (IOException ioe)
|
||||||
|
{
|
||||||
|
if (logger.isDebugEnabled())
|
||||||
|
{
|
||||||
|
logger.debug("Unable to send status code", ioe);
|
||||||
|
}
|
||||||
|
}
|
||||||
// Halt processing.
|
// Halt processing.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user