code: public boolean write( RasterData rasterData ) throws RasterWritingFailureException {
          try {
              return writer.write(rasterData);
          } catch (Exception e) {
              e.printStackTrace();
              throw new RasterWritingFailureException(e.getLocalizedMessage());
          }
  
      }
docs: <p>
  Write the rasterData to disk.
  </p>
  
  @param rasterData
  @return true if everything went well
  @throws Exception