File tree Expand file tree Collapse file tree 3 files changed +36
-5
lines changed
src/main/java/io/reactivesocket Expand file tree Collapse file tree 3 files changed +36
-5
lines changed Original file line number Diff line number Diff line change @@ -37,3 +37,8 @@ if (project.hasProperty('release.useLastTag')) {
3737test {
3838 testLogging. showStandardStreams = true
3939}
40+
41+ compileJava {
42+ sourceCompatibility = 1.8
43+ targetCompatibility = 1.8
44+ }
Original file line number Diff line number Diff line change 1515 */
1616package io .reactivesocket ;
1717
18- import java .io .Closeable ;
19-
20- import org .reactivestreams .Publisher ;
21-
2218import io .reactivesocket .rx .Completable ;
2319import io .reactivesocket .rx .Observable ;
20+ import org .reactivestreams .Publisher ;
21+
22+ import java .io .Closeable ;
2423
2524/**
2625 * Represents a connection with input/output that the protocol uses.
2726 */
2827public interface DuplexConnection extends Closeable {
29- // TODO should we call this 'Connection'? 'SocketConnection'? 'ReactiveSocketConnection'?
3028
3129 Observable <Frame > getInput ();
3230
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright 2015 Netflix, Inc.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+ package io .reactivesocket .exceptions ;
17+
18+ public class TransportException extends Throwable {
19+ public TransportException (Throwable t ) {
20+ super (t );
21+ }
22+
23+ @ Override
24+ public synchronized Throwable fillInStackTrace () {
25+ return this ;
26+ }
27+
28+ }
You can’t perform that action at this time.
0 commit comments