mirror of https://github.com/apache/archiva.git
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:
parent
b8c79cf8c6
commit
09d0dd1c0e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue