Class ExceptionHelper
java.lang.Object
org.broadleafcommerce.common.exception.ExceptionHelper
- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <G extends Throwable,
J extends RuntimeException>
voidprocessException
(Class<G> refineType, Class<J> wrapType, String message, Throwable e) static <G extends Throwable,
J extends RuntimeException>
voidprocessException
(Class<G> refineType, Class<J> wrapType, Throwable e) static <G extends Throwable,
J extends RuntimeException>
voidprocessException
(Class<J> wrapType, Throwable e) static <G extends Throwable,
J extends RuntimeException>
voidstatic <G extends Throwable,
J extends RuntimeException>
RuntimeExceptionrefineException
(Class<G> refineType, Class<J> wrapType, String message, Throwable e) static <G extends Throwable,
J extends RuntimeException>
RuntimeExceptionrefineException
(Class<G> refineType, Class<J> wrapType, Throwable e) static <G extends Throwable,
J extends RuntimeException>
RuntimeExceptionrefineException
(Class<J> wrapType, Throwable e) static <G extends Throwable,
J extends RuntimeException>
RuntimeException
-
Constructor Details
-
ExceptionHelper
public ExceptionHelper()
-
-
Method Details
-
refineException
public static <G extends Throwable,J extends RuntimeException> RuntimeException refineException(Class<G> refineType, Class<J> wrapType, String message, Throwable e) -
refineException
public static <G extends Throwable,J extends RuntimeException> RuntimeException refineException(Class<G> refineType, Class<J> wrapType, Throwable e) -
refineException
public static <G extends Throwable,J extends RuntimeException> RuntimeException refineException(Class<J> wrapType, Throwable e) -
refineException
public static <G extends Throwable,J extends RuntimeException> RuntimeException refineException(Throwable e) -
processException
public static <G extends Throwable,J extends RuntimeException> void processException(Class<G> refineType, Class<J> wrapType, String message, Throwable e) throws G - Throws:
G extends Throwable
-
processException
public static <G extends Throwable,J extends RuntimeException> void processException(Class<G> refineType, Class<J> wrapType, Throwable e) throws G - Throws:
G extends Throwable
-
processException
public static <G extends Throwable,J extends RuntimeException> void processException(Class<J> wrapType, Throwable e) throws G - Throws:
G extends Throwable
-
processException
public static <G extends Throwable,J extends RuntimeException> void processException(Throwable e) throws G - Throws:
G extends Throwable
-