/**
* {@inheritDoc}
*/
public GraphicOutput getGraphicOutput(final String mimeType) {
final GraphicOutputFactory factory = getServer().getOutputFactory(
mimeType);
if (factory == null) {
throw new UnsupportedOperationException("Unable to create "
+ "GraphicOutput instance for: " + mimeType);
}
GraphicOutput output = null;
try {
output = factory.createGraphicOutput(this);
} catch (final GraphicException e) {
getLogger().error("Error creating Graphic output for: " + mimeType
+ "\n" + e.getMessage());
}
return output;