fr.paris.lutece.plugins.directory.utils
Class DirectoryErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fr.paris.lutece.plugins.directory.utils.DirectoryErrorException
All Implemented Interfaces:
java.io.Serializable

public class DirectoryErrorException
extends java.lang.Exception

DirectoryErrorException

See Also:
Serialized Form

Constructor Summary
DirectoryErrorException(java.lang.String strTitleField)
           
DirectoryErrorException(java.lang.String strTitleField, java.lang.String strErrorMessage)
           
 
Method Summary
 java.lang.String getErrorMessage()
          Gets the error Message
 java.lang.String getTitleField()
           
 boolean isMandatoryError()
          return true if the error is a mandatory error
 void setErrorMessage(java.lang.String errorMessage)
          set the error message
 void setMandatoryError(boolean mandatoryError)
          set true if the error is a mandatory error
 void setTitleField(java.lang.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

DirectoryErrorException

public DirectoryErrorException(java.lang.String strTitleField,
                               java.lang.String strErrorMessage)

DirectoryErrorException

public DirectoryErrorException(java.lang.String strTitleField)
Method Detail

isMandatoryError

public boolean isMandatoryError()
return true if the error is a mandatory error

Returns:
true if the error is a mandatory error

setMandatoryError

public void setMandatoryError(boolean mandatoryError)
set true if the error is a mandatory error

Parameters:
mandatoryError - true if the error is a mandatory error

getErrorMessage

public java.lang.String getErrorMessage()
Gets the error Message

Returns:
the error Message

setErrorMessage

public void setErrorMessage(java.lang.String errorMessage)
set the error message

Parameters:
errorMessage - the erroer message

getTitleField

public java.lang.String getTitleField()
Returns:
the title of the field

setTitleField

public void setTitleField(java.lang.String titleField)
set the title of the field

Parameters:
titleField - the title of the field


Copyright © 2009 Mairie de Paris. All Rights Reserved.