Sm0ke
14:25 23-07-2017 exceptions
ArrayIndexOutOfBoundsException Thrown when attempting to access an array with an invalid index value (either negative or beyond the length of the array).
CassCastException Thrown when attempting to cast a reference variable to a type that fails the IS-A test.
IllegalArgumentException Thrown when a method receives an argument formatted differently than the method expects.
IllegalStateException Thrown when the state of the environment doesn’t match the operation being attempted, e.g., using a Scanner that’s been closed.
NullPointerException Thrown when attempting to access an object with a reference variable whose current value is null.
NumberFormatException Thrown when a method that converts a String to a number receives a String that it cannot convert.
AssertionError Thrown when a statement’s boolean test returns false.
ExceptionInInitializerError Thrown when attempting to initialize a static variable or an initialization block.
StackOverflowError Typically thrown when a method recurses too deeply. (Each invocation is added to the stack.)
NoClassDefFoundError Thrown when the JVM can’t find a class it needs, because of a command-line error, a classpath issue, or a missing .class file.

Current music: Electricity Drive (The Lost Radio Version) - Alphawezen
Состояние: учиться