Class FileServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.paris.lutece.portal.service.file.FileServiceException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFileServiceException(String strMessage) Creates a new instance of ExpiredLinkExceptionFileServiceException(String strMessage, Exception e) Creates a new instance of HttpAccessException.FileServiceException(String strMessage, Integer nResponseCodeStatus, Exception e) Creates a new instance of HttpAccessException. -
Method Summary
Modifier and TypeMethodDescriptionget the i18n message keythe response code (based on http codes)Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileServiceException
Creates a new instance of ExpiredLinkException- Parameters:
strMessage- The exception message
-
FileServiceException
Creates a new instance of HttpAccessException.- Parameters:
strMessage- The error messagee- The exception
-
FileServiceException
Creates a new instance of HttpAccessException.- Parameters:
strMessage- The error messagenResponseCode- the http response code associated to the Exceptione- The exception
-
-
Method Details
-
getResponseCode
the response code (based on http codes)- Returns:
- the response code associated to the Exception
-
getI18nMessageKey
get the i18n message key- Returns:
- the key
-