Tweak the error message to make it clearer how one should work with this part
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149196 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f6e2b0a90d
commit
22bf8bdef5
@ -596,7 +596,7 @@ public final class PackagePropertiesPart extends PackagePart implements
|
||||
|
||||
@Override
|
||||
protected InputStream getInputStreamImpl() {
|
||||
throw new InvalidOperationException("Operation not authorized");
|
||||
throw new InvalidOperationException("Operation not authorized. This part may only be manipulated using the getters and setters on PackagePropertiesPart");
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -607,12 +607,12 @@ public final class PackagePropertiesPart extends PackagePart implements
|
||||
|
||||
@Override
|
||||
public boolean save(OutputStream zos) {
|
||||
throw new InvalidOperationException("Operation not authorized");
|
||||
throw new InvalidOperationException("Operation not authorized. This part may only be manipulated using the getters and setters on PackagePropertiesPart");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean load(InputStream ios) {
|
||||
throw new InvalidOperationException("Operation not authorized");
|
||||
throw new InvalidOperationException("Operation not authorized. This part may only be manipulated using the getters and setters on PackagePropertiesPart");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user