|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
fr.paris.lutece.plugins.directory.utils.DirectoryErrorException
public class DirectoryErrorException
DirectoryErrorException
Constructor Summary | |
---|---|
DirectoryErrorException(String strTitleField)
Creates a new DirectoryErrorException |
|
DirectoryErrorException(String strTitleField,
String strErrorMessage)
Creates a new DirectoryErrorException |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 errorMethod Detail |
---|
public 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 field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |