#19046 replace system.{shutdown => terminate}
This commit is contained in:
parent
1ef35d907f
commit
3140e72265
57 changed files with 67 additions and 67 deletions
|
|
@ -29,11 +29,11 @@ public class HighLevelServerBindFailureExample {
|
|||
@Override
|
||||
public void onFailure(Throwable failure) throws Throwable {
|
||||
System.err.println("Something very bad happened! " + failure.getMessage());
|
||||
system.shutdown();
|
||||
system.terminate();
|
||||
}
|
||||
}, system.dispatcher());
|
||||
|
||||
system.shutdown();
|
||||
system.terminate();
|
||||
}
|
||||
}
|
||||
//#binding-failure-high-level-example
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue