DecodeException for unexpected FAR pointer in copyPointer()
This commit is contained in:
parent
a344568fe8
commit
1fa0e7a806
1 changed files with 1 additions and 1 deletions
|
@ -1121,7 +1121,7 @@ final class WireHelpers {
|
|||
}
|
||||
|
||||
case WirePointer.FAR :
|
||||
throw new Error("Unexpected FAR pointer.");
|
||||
throw new DecodeException("Unexpected FAR pointer.");
|
||||
case WirePointer.OTHER :
|
||||
throw new Error("copyPointer is unimplemented for OTHER pointers");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue