public char[] toCharArray() throws IllegalStateException {
  if (nulled) {
    throw new IllegalStateException(res.getString("NoGetPasswordNulled.message"));
  }
  return wrappedPassword;
}

public char [ ] toCharArray ( ) throws IllegalStateException { if ( nulled ) { throw new IllegalStateException ( res . getString ( "NoGetPasswordNulled.message" ) ) ; } return wrappedPassword ; }
get wrapped password as a char array .
