Class ExceptionUtil
java.lang.Object
com.appiancorp.suiteapi.common.exceptions.ExceptionUtil
Deprecated.
use individual method replacements
This class exists to remove gwt-incompatible code from Appian exception classes.
A super-sourced version of this class will throw exceptions instead of implementing these methods.
This allows us to use the exception types, without depending on unusable code paths that are never used by the client.
This allows us to use the exception types, without depending on unusable code paths that are never used by the client.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isAssignableFrom
(Class<?> to, Class<?> from) Deprecated.see Class.isAssignableFromstatic boolean
isDelegateInstanceOf
(AppianRuntimeException e, Class<? extends AppianException> targetExcepionClass) Deprecated.see AppianRuntimeException's isDelegateInstanceOfstatic void
Deprecated.see Throwable.printStackTrace
-
Method Details
-
isAssignableFrom
Deprecated.see Class.isAssignableFromIs Class to assignable from Class from?- Parameters:
to
-from
-- Returns:
-
printStackTrace
Deprecated.see Throwable.printStackTracePrint the stack trace of Throwable t to PrintWriter p- Parameters:
t
-p
-
-
isDelegateInstanceOf
@Deprecated public static boolean isDelegateInstanceOf(AppianRuntimeException e, Class<? extends AppianException> targetExcepionClass) Deprecated.see AppianRuntimeException's isDelegateInstanceOfIs the AppianException delegate of AppianRuntimeException e assignable from Class targetExcepionClass?- Parameters:
e
-targetExcepionClass
-- Returns:
-