Timeout exceptions as RuntimeExceptions

Issue: SPR-14669
(cherry picked from commit 6dc1898)
This commit is contained in:
Juergen Hoeller
2016-09-15 08:54:17 +02:00
parent 5dbfe48d24
commit e947363a11
3 changed files with 7 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2015 the original author or authors.
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ package org.springframework.messaging.simp.stomp;
* @since 4.2
*/
@SuppressWarnings("serial")
public class ConnectionLostException extends Exception {
public class ConnectionLostException extends RuntimeException {
public ConnectionLostException(String message) {
super(message);