class GaussianInputWriter extends DefaultChemObjectWriter {

    @Override
    public void write(IChemObject object) throws CDKException {
        if (object instanceof IAtomContainer) {
            try {
                writeMolecule((IAtomContainer) object);
            } catch (Exception ex) {
                throw new CDKException("Error while writing Gaussian input file: " + ex.getMessage(), ex);
            }
        } else {
            throw new CDKException("GaussianInputWriter only supports output of Molecule classes.");
        }
    }

    public  GaussianInputWriter(Writer out);
    public  GaussianInputWriter(OutputStream output);
    public  GaussianInputWriter();

}