Class StructuredExceptionLister

java.lang.Object
org.easypeelsecurity.springdog.manager.errortracing.StructuredExceptionLister

@Component public class StructuredExceptionLister extends Object
This class is responsible for listing and categorizing exception classes in a structured manner. It scans for exception classes in both Java standard libraries and the application's base package.
  • Constructor Summary

    Constructors
    Constructor
    Description
    StructuredExceptionLister(org.springframework.context.ApplicationContext applicationContext, org.springframework.core.env.Environment environment, org.easypeelsecurity.springdog.domain.errortracing.model.ExceptionListingService exceptionListingService)
    Constructs a new StructuredExceptionLister.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Lists all exception classes found in the classpath, including both Java standard exceptions and application-specific exceptions.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StructuredExceptionLister

      public StructuredExceptionLister(org.springframework.context.ApplicationContext applicationContext, org.springframework.core.env.Environment environment, org.easypeelsecurity.springdog.domain.errortracing.model.ExceptionListingService exceptionListingService)
      Constructs a new StructuredExceptionLister.
      Parameters:
      applicationContext - the Spring application context
      environment - the Spring environment
  • Method Details

    • listExceptions

      @PostConstruct public void listExceptions()
      Lists all exception classes found in the classpath, including both Java standard exceptions and application-specific exceptions.