mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-27 13:28:00 +01:00
Clarify nesting depth exceeded error message
This commit is contained in:
parent
f8968fc075
commit
bff2b3fbfe
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ public final class DecryptionStreamFactory {
|
|||
|
||||
private InputStream processPGPPackets(@Nonnull PGPObjectFactory objectFactory, int depth) throws IOException, PGPException {
|
||||
if (depth >= MAX_PACKET_NESTING_DEPTH) {
|
||||
throw new PGPException("Maximum recursion depth of packages exceeded.");
|
||||
throw new PGPException("Maximum depth of nested packages exceeded.");
|
||||
}
|
||||
Object nextPgpObject;
|
||||
while ((nextPgpObject = objectFactory.nextObject()) != null) {
|
||||
|
|
Loading…
Reference in a new issue