public class ArchivaRestServiceException extends Exception
Modifier and Type | Field and Description |
---|---|
private String |
errorKey |
private String |
fieldName
can return the field name of bean with issue
can be
null |
private int |
httpErrorCode |
Constructor and Description |
---|
ArchivaRestServiceException(String s,
int httpErrorCode,
String fieldName,
Throwable t) |
ArchivaRestServiceException(String s,
int httpErrorCode,
Throwable t) |
ArchivaRestServiceException(String message,
String fieldName,
Throwable t) |
ArchivaRestServiceException(String message,
Throwable t) |
Modifier and Type | Method and Description |
---|---|
String |
getErrorKey() |
String |
getFieldName() |
int |
getHttpErrorCode() |
void |
setErrorKey(String errorKey) |
void |
setFieldName(String fieldName) |
void |
setHttpErrorCode(int httpErrorCode) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private int httpErrorCode
public ArchivaRestServiceException(String message, Throwable t)
public ArchivaRestServiceException(String message, String fieldName, Throwable t)
public ArchivaRestServiceException(String s, int httpErrorCode, Throwable t)
public ArchivaRestServiceException(String s, int httpErrorCode, String fieldName, Throwable t)
public int getHttpErrorCode()
public void setHttpErrorCode(int httpErrorCode)
public String getErrorKey()
public void setErrorKey(String errorKey)
public String getFieldName()
public void setFieldName(String fieldName)
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.