@ Override public String [ ] get ( String key ) { String [ ] cipher = super . get ( key ) ; if ( cipher == null ) { throw new IllegalArgumentException ( "Cipher is unknown." ) ; } return cipher ; }
Override to return default cipher if input is null or throw an exception if the cipher key is not recognized .