Print Page as PDF
gov.va.med.exception.ExceptionUtils ICR (5174)

gov.va.med.exception.ExceptionUtils    ICR (5174)

Name Value
NUMBER 5174
IA # 5174
DATE CREATED 2008/04/11
CUSTODIAL PACKAGE FOUNDATIONS
USAGE Supported
TYPE Other
DBIC APPROVAL STATUS APPROVED
NAME gov.va.med.exception.ExceptionUtils
GENERAL DESCRIPTION
public class ExceptionUtils extends java.lang.Object:
Exposes utility methods for handling exceptions. Note: DEPRECATED CLASS.
STATUS Active
KEYWORDS
  • Foundations
  • FoundationsLib
  • Exception
DURATION Till Otherwise Agreed
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
getFullStackTrace()
public static java.lang.String
getFullStackTrace(java.lang.Throwable e): Deprecated. Superceded by JDK 1.4+
exception functionality.

Gets the full stack trace, including nested exceptions, as a string.
VARIABLES TYPE VARIABLES DESCRIPTION
return Output
java.lang.String: full stack trace including nested
exceptions as a string.
e Input
java.lang.Throwable e: Throwable exception to get
stack trace from.
getNestedExceptionByClass()
public static java.lang.Throwable
getNestedExceptionByClass(java.lang.Throwable e, java.lang.Class
exceptionClass): Deprecated. Superceded by JDK 1.4+ exception functionality.

Gets the nested exception if exception is an instance of the exceptionClass or
if any nested exception is an instance of the type exceptionClass.

If desired instance of exceptionClass is not found in the nested exception
stack then null is returned.

Can be used to unwind nested exception stack.
VARIABLES TYPE VARIABLES DESCRIPTION
e Input
java.lang.Throwable e: Exception to check for nested
exceptions within.
exceptionClass Input
java.lang.Class exceptionClass: class of the type of
nested exception to look for.
return Output
returns java.lang.Throwable: nested exception
matching requested class, if found.
CREATOR CLARKE,KYLE E
DATE ACTIVATED 2008/07/11
DATE/TIME EDITED
DATE/TIME EDITED ACTION AT THE REQUEST OF
2009/12/16 10:40 APPROVED CLARKE,KYLE
Generated from AUG 12, 2020@ IA Listing Descriptions