Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package domain;
- import java.io.IOException;
- import javax.swing.JOptionPane;
- import com.fasterxml.jackson.core.JsonParseException;
- import com.fasterxml.jackson.databind.JsonMappingException;
- import exceptions.DomainException;
- public class AppLauncher {
- public static void main(String[] args) {
- App app = new App();
- try {
- app.showWelcomeScreen();
- } catch (DomainException e) {
- JOptionPane.showMessageDialog(null, e.getMessage());
- } catch (JsonParseException e) {
- JOptionPane.showMessageDialog(null, e.getMessage());
- } catch (JsonMappingException e) {
- JOptionPane.showMessageDialog(null, e.getMessage());
- } catch (IOException e) {
- JOptionPane.showMessageDialog(null, e.getMessage());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment