package dev.banking;

/**
 * Entry point of the application.
 *
 * IMPORTANT:
 * - This is only a wrapper for running the demo.
 */
public final class Main {

    private Main() {
    }

    public static void main(String[] args) {

        System.out.println("=================================");
        System.out.println(" Advanced Banking System");
        System.out.println("=================================\n");

        try {

            DemoApplication.run();

            System.out.println("\n=================================");
            System.out.println(" System finished successfully ");
            System.out.println("=================================");

        } catch (Exception e) {

            System.err.println("Unexpected error occurred:");
            e.printStackTrace();
        }
    }
}