@Override
	public boolean createTable(String query) {
		Statement statement = null;
		try
		{
			if (query == null)
			{
				this.writeError("SQL query null", true);
				return false;
			}
			if (query.equals(""))
			{
				this.writeError("SQL query empty: createTable(" + query + ")",
						true);
				return false;
			}
			this.connection = this.open();
			statement = connection.createStatement();
			statement.execute(query);
			statement.close();
			this.close();
			return true;
		}
		catch (SQLException e)
		{
			this.writeError(e.getMessage(), true);
			return false;
		}
		catch (Exception e)
		{
			this.writeError(e.getMessage(), true);
			return false;
		}
	}