public class EudonetRestException extends Exception
Constructor and Description |
---|
EudonetRestException(String strIdDemand)
Creates a new EudonetException
|
EudonetRestException(String strIdDemand,
String strErrorMessage)
Creates a new EudonetException
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage()
Gets the error Message
|
String |
getIdDemand() |
void |
setErrorMessage(String errorMessage)
set the error message
|
void |
setIdDemand(String strIdDemand)
set the IdDemand of the demand
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public EudonetRestException(String strIdDemand, String strErrorMessage)
IdDemand
- The Number of the demand that caused the errorstrErrorMessage
- The error messagepublic EudonetRestException(String strIdDemand)
_strIdDemand
- The Number of the demand that caused the errorpublic String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
- the erroer messagepublic String getIdDemand()
public void setIdDemand(String strIdDemand)
IdDemand
- the id of the demandeCopyright © 2018 City of Paris. All rights reserved.