getWarnings() method

Returns the list of warnings.

Syntax

List< SecWarning > getWarnings ()

Returns

List of the warnings stored for this context.

Usage

An empty list is returned if no warnings are in the queue. New warnings are appended at the tail of the list so to receive the most recent warnings use List.ListIterator(List.size()).previous() operation. The client may clear or remove warnings from this list as they see fit. The underlying implementation will enforce the maximum warning count by removing the oldest warning when adding a new warning if the queue size is equal to the max warning count. It will also disallow adding new elements by the CSI client.

List of the warnings stored for this context.