Add exception handling for invalid key interpretation in PDT.
This commit is contained in:
@@ -233,6 +233,8 @@ namespace Cryville.Common.Pdt {
|
|||||||
break;
|
break;
|
||||||
case '}':
|
case '}':
|
||||||
return result;
|
return result;
|
||||||
|
default:
|
||||||
|
throw new InvalidOperationException("Internal error: Invalid key interpretation");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user