raise an exception if the signature have invalid character + fix pyjnius documentation about array declaration in signature