Class FileServiceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.paris.lutece.portal.service.file.FileServiceException
All Implemented Interfaces:
Serializable

public class FileServiceException extends Exception
See Also:
  • Constructor Details

    • FileServiceException

      public FileServiceException(String strMessage)
      Creates a new instance of ExpiredLinkException
      Parameters:
      strMessage - The exception message
    • FileServiceException

      public FileServiceException(String strMessage, Exception e)
      Creates a new instance of HttpAccessException.
      Parameters:
      strMessage - The error message
      e - The exception
    • FileServiceException

      public FileServiceException(String strMessage, Integer nResponseCodeStatus, Exception e)
      Creates a new instance of HttpAccessException.
      Parameters:
      strMessage - The error message
      nResponseCode - the http response code associated to the Exception
      e - The exception
  • Method Details

    • getResponseCode

      public Integer getResponseCode()
      the response code (based on http codes)
      Returns:
      the response code associated to the Exception
    • getI18nMessageKey

      public String getI18nMessageKey()
      get the i18n message key
      Returns:
      the key