logo

New Response

« Return to the blog entry

You are replying to:

  1. Someone correct me if I'm wrong, but if an object can throw that exception, you can trap it with a try catch on the call.

    try {

    JPEGImageDecoder.whatever()

    } catch (OutOfMemoryException oome)

    {

    oome.printStackTrace();

    }

    Please forgive me if this seems overly simplistic.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: