Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies {
allprojects {
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '0.2.2'
version = '0.2.3'
}

jacocoTestReport {
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/github/mproberts/rxtools/SubjectMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,15 @@ public void call(Subject<V, V> subject)
* to get will return a new observable and attempt to fault the value in
*
* @param key key with which the specified value is to be associated
* @param exception exception to be sent to the specified observable
* @param throwable throwable to be sent to the specified observable
*/
public void onError(K key, final Exception exception)
public void onError(K key, final Throwable throwable)
{
emitUpdate(key, new Action1<Subject<V, V>>() {
@Override
public void call(Subject<V, V> subject)
{
subject.onError(exception);
subject.onError(throwable);
}
}, true);
}
Expand Down