Skip to content

Commit ea4fc79

Browse files
committed
ResourceException: non-serializable internal attributes marked as transient
- this is to allow ResourceException to be serialized - fixes issue restlet#1402
1 parent 0af3e48 commit ea4fc79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/org.restlet/src/main/java/org/restlet/resource/ResourceException.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ public class ResourceException extends RuntimeException {
3838
private static final long serialVersionUID = 1L;
3939

4040
/** The status associated to this exception. */
41-
private final Status status;
41+
private final transient Status status;
4242

4343
/** The request associated to this exception. Could be null. */
44-
private final Request request;
44+
private final transient Request request;
4545

4646
/** The response associated to this exception. Could be null. */
47-
private final Response response;
47+
private final transient Response response;
4848

4949
/**
5050
* Constructor.

0 commit comments

Comments
 (0)