8000 Inconsistent use of MissingParameterException · Issue #102 · appium/java-client · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Inconsistent use of MissingParameterException #102
Closed
@0x1mason

Description

@0x1mason

java-client checks on the client side for missing parameters in MultiTouchAction::perform and throws a custom exception. However, there aren't other checks for valid params. We should check parameters consistently in the client or not at all.

Also, we should probably use Preconditions.checkArgument(foo, msg);, since this is part of the Guava idiom, and add throws IllegalArgumentException to function signatures that assert precondtions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0