/** * Sets the error. * * <p>This should be used in {@link OAuthProcess#getIdentity(OAuthAccessToken token) * getIdentity()} implementations to set the error, before emitting {@link * OAuthProcess#authenticated() authenticated()} with an invalid {@link Identity}. */ protected void setError(CharSequence error) { this.error_ = WString.toWString(error); }
/** Constructor. */ public TokenError(CharSequence error) { super(); this.error_ = WString.toWString(error); }