282930313233343536
} } public static MainConnection getMainConnection () throws ConnectionNotDefinedException { if (connection == null) { throw new ConnectionNotDefinedException(); } return connection; }