coding style - Is there a particular naming convention for Java methods that throw exceptions? -
I use a prefix such as "pre" to separate exception methods (with the same signature) in those methods Examine to add
Is there any such conference?
Yes, you name
Edit: If you have the same methods that Do not throw / throw, then I get the parse
/ TryParse
pattern ( parse
being replaced by the operation). > Dictionary uses & lt; T, K & gt;, TryGetValue , monitor.Try Enter
, int.TryParse
, etc. etc.). .
Edit:
Comments
Post a Comment