Class SizeLimitExceededException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.activity.ActivityException
-
- com.aspectran.core.activity.request.RequestException
-
- com.aspectran.core.activity.request.RequestParseException
-
- com.aspectran.core.activity.request.SizeLimitExceededException
-
- All Implemented Interfaces:
java.io.Serializable
public class SizeLimitExceededException extends RequestParseException
Thrown to indicate that the request size exceeds the configured maximum.- Since:
- 6.3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SizeLimitExceededException(java.lang.String msg, long actual, long permitted)
Constructs aSizeExceededException
with the specified detail message, and actual and permitted sizes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getActual()
long
getPermitted()
-
-
-
Constructor Detail
-
SizeLimitExceededException
public SizeLimitExceededException(java.lang.String msg, long actual, long permitted)
Constructs aSizeExceededException
with the specified detail message, and actual and permitted sizes.- Parameters:
msg
- the detail messageactual
- the actual request sizepermitted
- the maximum permitted request size
-
-