public class DirectoryErrorException extends Exception
Constructor and Description |
---|
DirectoryErrorException(String strTitleField)
Creates a new DirectoryErrorException
|
DirectoryErrorException(String strTitleField,
String strErrorMessage)
Creates a new DirectoryErrorException
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage()
Gets the error Message
|
String |
getTitleField() |
boolean |
isMandatoryError()
return true if the error is a mandatory error
|
void |
setErrorMessage(String errorMessage)
set the error message
|
void |
setMandatoryError(boolean mandatoryError)
set true if the error is a mandatory error
|
void |
setTitleField(String titleField)
set the title of the field
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DirectoryErrorException(String strTitleField, String strErrorMessage)
strTitleField
- The title of the filed that caused the errorstrErrorMessage
- The error messagepublic DirectoryErrorException(String strTitleField)
strTitleField
- The title of the filed that caused the errorpublic boolean isMandatoryError()
public void setMandatoryError(boolean mandatoryError)
mandatoryError
- true if the error is a mandatory errorpublic String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
- the erroer messagepublic String getTitleField()
public void setTitleField(String titleField)
titleField
- the title of the fieldCopyright © 2016 City of Paris. All rights reserved.