com.trendmicro.grid.acl.l0
Class BatchSizeExceededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.trendmicro.grid.acl.l0.BatchSizeExceededException
All Implemented Interfaces:
Serializable

@WebFault(targetNamespace="http://grid.trendmicro.com/services/level-0")
public class BatchSizeExceededException
extends RuntimeException

Defines a SOAP fault that is sent as reply for "batch" enabled service methods when the batch size inside the request exceeds the configured limit.

The exception contains the acceptable batch size as getAllowedBatchSize() allowing clients to adaptively choose the right batch size and retry a request that failed on this SOAP fault.

Author:
Juergen_Kellerer, 2010-04-26
See Also:
Serialized Form

Constructor Summary
BatchSizeExceededException(int allowedBatchSize)
           
 
Method Summary
 int getAllowedBatchSize()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BatchSizeExceededException

public BatchSizeExceededException(int allowedBatchSize)
Method Detail

getAllowedBatchSize

public int getAllowedBatchSize()