-
- All Implemented Interfaces:
-
java.io.Serializable
public class LimitExceededException extends InvalidDataException
exception which indicates that the message limited was exceeded (CloseFrame.TOOBIG)
-
-
Field Summary
Fields Modifier and Type Field Description private final int
limit
-
Constructor Summary
Constructors Constructor Description LimitExceededException()
constructor for a LimitExceededExceptioncalling LimitExceededException with closecode TOOBIG LimitExceededException(int limit)
constructor for a LimitExceededExceptioncalling InvalidDataException with closecode TOOBIG LimitExceededException(String s, int limit)
constructor for a LimitExceededExceptioncalling InvalidDataException with closecode TOOBIG LimitExceededException(String s)
constructor for a LimitExceededExceptioncalling InvalidDataException with closecode TOOBIG
-
Method Summary
Modifier and Type Method Description int
getLimit()
Get the limit which was hit so this exception was caused -
Methods inherited from class com.tds.common.websocket.exceptions.InvalidDataException
getCloseCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LimitExceededException
LimitExceededException()
constructor for a LimitExceededExceptioncalling LimitExceededException with closecode TOOBIG
-
LimitExceededException
LimitExceededException(int limit)
constructor for a LimitExceededExceptioncalling InvalidDataException with closecode TOOBIG
-
LimitExceededException
LimitExceededException(String s, int limit)
constructor for a LimitExceededExceptioncalling InvalidDataException with closecode TOOBIG
-
LimitExceededException
LimitExceededException(String s)
constructor for a LimitExceededExceptioncalling InvalidDataException with closecode TOOBIG- Parameters:
s
- the detail message.
-
-
Method Detail
-
getLimit
int getLimit()
Get the limit which was hit so this exception was caused
-
-
-
-