mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-11-26 00:52:07 +01:00
Add missing @throws javadoc
This commit is contained in:
parent
419056ba4c
commit
ab8f44138d
2 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ public class UTCUtil {
|
||||||
*
|
*
|
||||||
* @param dateString string
|
* @param dateString string
|
||||||
* @return date
|
* @return date
|
||||||
|
* @throws ParseException if the date string is malformed and cannot be parsed
|
||||||
*/
|
*/
|
||||||
@Nonnull
|
@Nonnull
|
||||||
public static Date parseUTCDate(String dateString) throws ParseException {
|
public static Date parseUTCDate(String dateString) throws ParseException {
|
||||||
|
|
|
@ -26,6 +26,7 @@ public class UTF8Util {
|
||||||
* @param data utf-8 encoded bytes
|
* @param data utf-8 encoded bytes
|
||||||
*
|
*
|
||||||
* @return decoded string
|
* @return decoded string
|
||||||
|
* @throws CharacterCodingException if the input data does not resemble UTF8
|
||||||
*/
|
*/
|
||||||
public static String decodeUTF8(byte[] data)
|
public static String decodeUTF8(byte[] data)
|
||||||
throws CharacterCodingException {
|
throws CharacterCodingException {
|
||||||
|
|
Loading…
Reference in a new issue