/** * {@inheritDoc} * * @see org.jboss.shrinkwrap.descriptor.api.Descriptor#exportTo(java.io.OutputStream) */ @Override public void exportTo(final OutputStream output) throws DescriptorExportException, IllegalArgumentException { if (output == null) { throw new IllegalArgumentException("Can not export to null stream"); } this.getExporter().to(this, output); }
/** * {@inheritDoc} * * @see org.jboss.shrinkwrap.descriptor.api.Descriptor#exportTo(java.io.OutputStream) */ @Override public void exportTo(final OutputStream output) throws DescriptorExportException, IllegalArgumentException { if (output == null) { throw new IllegalArgumentException("Can not export to null stream"); } this.getExporter().to(this, output); }