Compare commits
2 Commits
efa86f02e5
...
1800ac2c1b
Author | SHA1 | Date | |
---|---|---|---|
1800ac2c1b | |||
9cf91f17b4 |
@ -12,5 +12,5 @@ open module org.atriasoft.esvg {
|
|||||||
requires transitive org.atriasoft.exml;
|
requires transitive org.atriasoft.exml;
|
||||||
requires org.atriasoft.pngencoder;
|
requires org.atriasoft.pngencoder;
|
||||||
requires java.desktop;
|
requires java.desktop;
|
||||||
requires org.atriasoft.egami;
|
requires transitive org.atriasoft.egami;
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,7 @@ package org.atriasoft.esvg;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.atriasoft.aknot.exception.AknotException;
|
||||||
import org.atriasoft.egami.ImageFloatRGBA;
|
import org.atriasoft.egami.ImageFloatRGBA;
|
||||||
import org.atriasoft.esvg.internal.Log;
|
import org.atriasoft.esvg.internal.Log;
|
||||||
import org.atriasoft.etk.Uri;
|
import org.atriasoft.etk.Uri;
|
||||||
@ -210,7 +211,7 @@ public class EsvgDocument extends Base {
|
|||||||
XmlNode doc = null;
|
XmlNode doc = null;
|
||||||
try {
|
try {
|
||||||
doc = Exml.parse(uri);
|
doc = Exml.parse(uri);
|
||||||
} catch (ExmlException e) {
|
} catch (ExmlException | AknotException e) {
|
||||||
// TODO Auto-generated catch block
|
// TODO Auto-generated catch block
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
return false;
|
return false;
|
||||||
@ -242,7 +243,7 @@ public class EsvgDocument extends Base {
|
|||||||
XmlNode doc = null;
|
XmlNode doc = null;
|
||||||
try {
|
try {
|
||||||
doc = Exml.parse(data);
|
doc = Exml.parse(data);
|
||||||
} catch (ExmlException e) {
|
} catch (ExmlException | AknotException e) {
|
||||||
// TODO Auto-generated catch block
|
// TODO Auto-generated catch block
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user