Catch Throwable
This commit is contained in:
parent
389845b4c9
commit
c8679fe52c
@ -56,7 +56,7 @@ public abstract class AbstractSocketServerBootstrapTest {
|
|||||||
try {
|
try {
|
||||||
s = SctpChannel.open();
|
s = SctpChannel.open();
|
||||||
bufSizeModifiable = s.supportedOptions().contains(SctpStandardSocketOptions.SO_RCVBUF);
|
bufSizeModifiable = s.supportedOptions().contains(SctpStandardSocketOptions.SO_RCVBUF);
|
||||||
} catch (Exception e) {
|
} catch (Throwable e) {
|
||||||
bufSizeModifiable = false;
|
bufSizeModifiable = false;
|
||||||
System.err.println(
|
System.err.println(
|
||||||
"SCTP SO_RCVBUF does not work: " + e);
|
"SCTP SO_RCVBUF does not work: " + e);
|
||||||
|
Loading…
Reference in New Issue
Block a user