|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.util.error.SilverpeasTransverseErrorUtil
public class SilverpeasTransverseErrorUtil
Centralized treatment of transverse exceptions :
DataStorageQuotaException
ComponentFileFilterException
Constructor Summary | |
---|---|
SilverpeasTransverseErrorUtil()
|
Method Summary | ||
---|---|---|
static
|
performExceptionMessage(E exception,
String language)
Retrieves a formatted exception message if any handled from a given exception |
|
static
|
stopTransverseErrorIfAny(E exception)
Stops a runtime transverse exception exists |
|
static
|
throwTransverseErrorIfAny(E exception,
String language)
Checks from a exception if a runtime transverse exception has to be thrown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SilverpeasTransverseErrorUtil()
Method Detail |
---|
public static <E extends Exception> void stopTransverseErrorIfAny(E exception) throws E extends Exception
exception
-
E extends Exception
public static <E extends Exception> void throwTransverseErrorIfAny(E exception, String language) throws DataStorageQuotaException, ComponentFileFilterException
exception
- the http servlet requestlanguage
- the language of current user
DataStorageQuotaException
ComponentFileFilterException
public static <E extends Exception> String performExceptionMessage(E exception, String language)
exception
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |