Add missing @throws javadoc

This commit is contained in:
Paul Schaub 2023-04-27 14:45:42 +02:00
parent 419056ba4c
commit ab8f44138d
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 2 additions and 0 deletions

View file

@ -33,6 +33,7 @@ public class UTCUtil {
*
* @param dateString string
* @return date
* @throws ParseException if the date string is malformed and cannot be parsed
*/
@Nonnull
public static Date parseUTCDate(String dateString) throws ParseException {

View file

@ -26,6 +26,7 @@ public class UTF8Util {
* @param data utf-8 encoded bytes
*
* @return decoded string
* @throws CharacterCodingException if the input data does not resemble UTF8
*/
public static String decodeUTF8(byte[] data)
throws CharacterCodingException {