public class DocumentimportException extends Exception
| Constructor and Description |
|---|
DocumentimportException(String strTitleField)
Creates a new DocumentimportException
|
DocumentimportException(String strTitleField,
String strErrorMessage)
Creates a new DocumentimportException
|
| 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, toStringpublic DocumentimportException(String strTitleField, String strErrorMessage)
strTitleField - The title of the filed that caused the errorstrErrorMessage - The error messagepublic DocumentimportException(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 © 2015 City of Paris. All rights reserved.