Thursday 6 December 2012

EXCEPTION HANDLING....CONT

A SUMMARY OF THE EXAM'S EXCEPTION AND ERRORS:
      In this area we mentioned the StackOverFlowError. The other nine exception and mistakes detailed in the purpose are protected elsewhere in this block

ARRAYINDIXOUTOFBOUNDEXCEPTION:
    Tossed when trying to accessibility an range with an incorrect catalog value (either adverse or beyond the duration of the range ). By the JVM
CLASSCASTEXCEPTION
:
    Tossed when trying to throw a testimonials varying to a kind that drops the IS-A analyze. By the JVM

ILLEGALARGUMENTEXCEPTION:
    Tossed when a technique gets an Discussion partitioned in a different way than the technique expects
programmatically

ILLEGALSTATEEXCEPTION:
     Tossed when a the satisfy of the surroundings doesn't go with the function being tried e.g using a reader that's been shut programmatically

NULLPOINTEREXCEPTIN:
     Tossed when trying to accessibility an item with a referrals varying whose present value is zero by the JVM

NUMBERFORMATEXCEPTION:
      Tossed when a technique that transforms a pattern to a variety gets a sequence that it cannot turn. Programmatically

ASSERTIONERROR:
     Tossed when a statement's Boolean analyze income incorrect programmatically

EXCEPTIONININITIALIZERERROR
:
     Tossed when trying to initialize a fixed varying or an initialization prevent by the jvm

STACKOVERFLOWERROR:
    Generally thrown when a technique recurses too greatly (each invocation is included to the stack)
By the JVM

NOCLASSDEFFOUNDERROR:
    Tossed when the JVM can't discover a category it needs because of a command-line mistake a classpath problem or a losing category computer file by the JVM information and resource of typical exception.

No comments:

Post a Comment