Move InvalidRPNExcpetion to its own file

Signed-off-by: Evan Anderson <evananderson@aospa.co>