public abstract String getCode ()

Gets a diagnostic code indicating the type of diagnostic. The code is implementation-dependent and might be null.

Returns:  a diagnostic code