<@U0D06TWMA> Let's say you have to call this funct...
# getting-started
b
@Andreas Sinz Let's say you have to call this function below from the Android framework. The Editor doesn't warn you about the exception so you either have to read the function to know it can throw an exception and catch it or just call the function and risk getting an runtime exception.
Copy code
public AccountManagerFuture<String> getAuthTokenLabel(final String accountType, final String authTokenType) {
        if (accountType == null) throw new IllegalArgumentException("accountType is null");
        if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
        ...
}