Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
We trickily set a diagnosis msg as path of KeeperException in CreateMode(see code snippet below) because KeeperException doesn't have a dedicated error message field. It is good to have a diagnosis field beside path for error message beyond a path.
// CreateMode#L136 String errMsg = "Received an invalid flag value: " + flag + " to convert to a CreateMode"; LOG.error(errMsg); throw new KeeperException.BadArgumentsException(errMsg);