Class ExceptionExample

java.lang.Object
info.ejava.examples.app.config.logging.exceptions.ExceptionExample
All Implemented Interfaces:
org.springframework.boot.CommandLineRunner

@Component public class ExceptionExample extends Object implements org.springframework.boot.CommandLineRunner
  • Constructor Details

    • ExceptionExample

      public ExceptionExample()
  • Method Details

    • run

      public void run(String... args) throws Exception
      Specified by:
      run in interface org.springframework.boot.CommandLineRunner
      Throws:
      Exception
    • iThrowException

      private void iThrowException() throws Exception
      Throws:
      Exception