Menu

#3 Exception Message Typos

v1.0 (example)
open
nobody
None
5
2015-04-07
2015-04-07
Shelley
No

There are various typos in some of the exception messages and documentation in the TinyRadius library:

  • Missing closing parenthesis on exception message in RadiusPacket line 842:
    throw new RadiusException("bad packet: invalid packet identifier (request: " + request.getPacketIdentifier() + ", response: " + identifier);
  • Misspelled "included" in DictionaryParser line 171:
    throw new IOException("inclueded file '" + includeFile + "' not found, line " + lineNum);
  • Misspelled "tiemout" in RadiusClient#setSocketTimeout
    "socket tiemout must be positive"
  • Misspelled "attribute" in VendorSpecificAttribute lines 82-83
    throw new IllegalArgumentException("sub attribut has incorrect vendor ID");

Discussion


Log in to post a comment.