A NoticeResponse packet is sent by the server to notify the client of one or more warnings. The type of the warnings is defined in the Postgres documentation.
String packetType: "NoticeResponse"
List<NoticeField> noticeFields : gets a list of NoticeField objects (see below).
String getNoticeString() : get all the notice fields as a comma-separated string. Useful for logging and debugging.
NoticeField addNoticeField(byte fieldType, String fieldValue) : add a new field to the packet.
void removeNoticeField(byte fieldType): remove the specified notice field, if present.
byte fieldType: the type of notice field
String fieldValue: the value of the field
String getTypeName(): gets the name of the type