#4 not all bad Base64 decodes throw IOException

open
nobody
None
5
2012-12-06
2009-05-12
Anonymous
No

This is my list of invalid Base64 encoded strings. Should all such decodes results in IOException?
"AAAAB"
"AAAABB"
"AAAABBB"
"AAAA="
"AAAAB="
"AAAABB="
"AAAA=BBB"
"AAAAB=BB"
"AAAABB=B"
"AAAABBB=C"
"AAAABBB=CC"
"AAAABBB=CCC "
"AAAABBB=CCCC"
"AAAABBB=CCC="
"AAAABBB=CC=="
"AAAABBB=C"
"AAAABB==CC "
"AAAABB==CCC"
"AAAABB==CCCC"
"AAAABB==CCC="
"AAAABB==CC=="
"A "
" A "
" A "
" A"
"AA "
" AA "
" AA"
"A A"
" AA "
"AAA "
" AAA"
"\u00b0\u00b0\u00b0\u00b0"
"AAA@"
"AA@A"
"A@AA"
"@AAA"
"===="

Discussion