javapns.notification.exceptions
Class PayloadMaxSizeExceededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javapns.notification.exceptions.PayloadMaxSizeExceededException
All Implemented Interfaces:
Serializable

public class PayloadMaxSizeExceededException
extends Exception

Thrown when a payload exceeds the maximum size allowed.

Author:
Sylvain Pedneault
See Also:
Serialized Form

Constructor Summary
PayloadMaxSizeExceededException()
          Default constructor
PayloadMaxSizeExceededException(int maxSize)
           
PayloadMaxSizeExceededException(int maxSize, int currentSize)
           
PayloadMaxSizeExceededException(String message)
          Constructor with custom message
 
Method Summary
 
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

PayloadMaxSizeExceededException

public PayloadMaxSizeExceededException()
Default constructor


PayloadMaxSizeExceededException

public PayloadMaxSizeExceededException(int maxSize)

PayloadMaxSizeExceededException

public PayloadMaxSizeExceededException(int maxSize,
                                       int currentSize)

PayloadMaxSizeExceededException

public PayloadMaxSizeExceededException(String message)
Constructor with custom message

Parameters:
message -


Copyright © 2016. All Rights Reserved.