javapns/src/main/java/javapns/notification/Payload.java
/**
	 * Check if the payload exceeds the maximum size allowed.
	 * The maximum size allowed is returned by the getMaximumPayloadSize() method.
	 *
	 * @return true if the payload exceeds the maximum size allowed, false otherwise
	 */
Check if the payload exceeds the maximum size allowed.
The maximum size allowed is returned by the getMaximumPayloadSize() method.

@return true if the payload exceeds the maximum size allowed, false otherwise
Check if the payload exceeds the maximum size allowed . The maximum size allowed is returned by the getMaximumPayloadSize () method . @return true if the payload exceeds the maximum size allowed false otherwise
private boolean isPayloadTooLong() {
		try {
			byte[] bytes = getPayloadAsBytesUnchecked();
			if (bytes.length > getMaximumPayloadSize()) return true;
		} catch (Exception e) {
		}
		return false;
	}
private boolean isPayloadTooLong ( ) { try { byte [ ] bytes = getPayloadAsBytesUnchecked ( ) ; if ( bytes . length > getMaximumPayloadSize ( ) ) return true ; } catch ( Exception e ) { } return false ; }
Check if the payload exceeds the maximum size allowed.
Check if the payload exceeds the maximum size allowed .