public class LimitExceededException extends InvalidDataException
Constructor and Description |
---|
LimitExceededException()
constructor for a LimitExceededException
calling LimitExceededException with closecode TOOBIG
|
LimitExceededException(int limit)
constructor for a LimitExceededException
calling InvalidDataException with closecode TOOBIG
|
LimitExceededException(String s)
constructor for a LimitExceededException
calling InvalidDataException with closecode TOOBIG
|
LimitExceededException(String s,
int limit)
constructor for a LimitExceededException
calling InvalidDataException with closecode TOOBIG
|
Modifier and Type | Method and Description |
---|---|
int |
getLimit()
Get the limit which was hit so this exception was caused
|
getCloseCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LimitExceededException()
calling LimitExceededException with closecode TOOBIG
public LimitExceededException(int limit)
calling InvalidDataException with closecode TOOBIG
limit
- the allowed size which was not enoughpublic LimitExceededException(String s, int limit)
calling InvalidDataException with closecode TOOBIG
s
- the detail message.limit
- the allowed size which was not enoughpublic LimitExceededException(String s)
calling InvalidDataException with closecode TOOBIG
s
- the detail message.Copyright © 2021. All rights reserved.