no need of http error code field

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-11-14 20:15:05 +00:00
parent b8c79cf8c6
commit 09d0dd1c0e
1 changed files with 1 additions and 14 deletions

View File

@ -29,9 +29,7 @@ import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement( name = "archivaRestError" )
public class ArchivaRestError
{
private int httpErrorCode;
private String errorKey;
private String errorMessage;
@ -43,21 +41,10 @@ public class ArchivaRestError
public ArchivaRestError( ArchivaRestServiceException e )
{
httpErrorCode = e.getHttpErrorCode();
errorKey = e.getErrorKey();
errorMessage = e.getMessage();
}
public int getHttpErrorCode()
{
return httpErrorCode;
}
public void setHttpErrorCode( int httpErrorCode )
{
this.httpErrorCode = httpErrorCode;
}
public String getErrorKey()
{
return errorKey;