/*
 * @topic T11383 Exception demo VIII
 * @brief main program
*/

package week08exceptions;

public class AppMain {

    public static void main(String[] args) {
        MazeGame maze = null;
        try {
            maze = MazeGame.createMaze( -1 );
            maze.print();
        } catch ( ExBadConfiguration | ExBadUserPrivilege ex ) {
            System.err.println( ex.getMessage() );
            ex.printStackTrace();
            
        } catch ( Exception ex ) {
            System.err.println( ex.getMessage() );
        }
    
    }//main
}//class AppMain