Class ExceptionUtils

java.lang.Object
org.qubership.atp.auth.springbootstarter.utils.ExceptionUtils

public class ExceptionUtils extends Object
To be deleted in stubbed library, after upgrade to Spring Boot 3.
  • Constructor Details

    • ExceptionUtils

      public ExceptionUtils()
  • Method Details

    • throwWithLog

      public static void throwWithLog(org.slf4j.Logger log, AtpException exception)
      Log and throw the error.
      Parameters:
      log - logger
      exception - error to log and then throw.