Skip to content

Instantly share code, notes, and snippets.

@jnwelzel jnwelzel/
Created Feb 27, 2014

What would you like to do?
// 2MB
if (picture.length > 2 * 1024 * 1024) {
throw new FDNFileTooLargeException("2MB.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.