Hello HARRY HACKER
Hello TONNY TESTER
Hello EVE ENGINEER
Exception in thread "main" java.lang.NullPointerException
at standard.NullPointerExceptionDemo.main(NullPointerExceptionDemo.java:10)
Casting Integer to String.....
Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
at standard.ClassCastExceptionDemo.main(ClassCastExceptionDemo.java:9)
Hello
Exception in thread "main" java.lang.UnsupportedOperationException
at java.util.AbstractCollection.add(Unknown Source)
at standard.OperationNotSupportedExceptionDemo.main(OperationNotSupportedExceptionDemo.java:16)
Carl Cracker
Eve Engineer
Exception in thread "main" java.lang.IllegalStateException
at java.util.TreeMap$PrivateEntryIterator.remove(TreeMap.java:1119)
at standard.IllegalStateExceptionDemo.main(IllegalStateExceptionDemo.java:25)
0
100
200
300
400
500
600
700
800
900
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10
at standard.IndexOutOfBoundsExceptionDemo.main(IndexOutOfBoundsExceptionDemo.java:11)
Current date and time: 04/21/2013 19:51:03
Exception in thread "main" java.lang.IllegalArgumentException: Illegal pattern character 'e'
at java.text.SimpleDateFormat.compile(Unknown Source)
at java.text.SimpleDateFormat.initialize(Unknown Source)
at java.text.SimpleDateFormat.
at java.text.SimpleDateFormat.
at standard.IllegalArgumentExceptionDemo.main(IllegalArgumentExceptionDemo.java:16)
Total so far: 9
Total so far: 34
Total so far: 48
Total so far: 59
Total so far: 92
Exception in thread "main" java.lang.NumberFormatException: For input string: "hello world"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at standard.NumberFormatExceptionDemo.main(NumberFormatExceptionDemo.java:12)
public class ClassNotFoundExceptionDemo {
public static void main(String args[]) {
try {
URLClassLoader loader = new URLClassLoader(new URL[] { new URL(
"file://C:/CL/ClassNotFoundException/") });
loader.loadClass("DoesNotExist");
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
}
Файл не найден
Ошибка доступа к СУБД
Student.class
java.lang.NoClassDefFoundError
standard\Student.class
standard/Student
Hello World!
Hello World!
Hello World!
Hello World!
Exception in thread "main" java.lang.StackOverflowError
at sun.nio.cs.SingleByte.withResult(Unknown Source)
at sun.nio.cs.SingleByte.access$000(Unknown Source)
at sun.nio.cs.SingleByte$Encoder.encodeArrayLoop(Unknown Source)
at sun.nio.cs.SingleByte$Encoder.encodeLoop(Unknown Source)
at java.nio.charset.CharsetEncoder.encode(Unknown Source)
at sun.nio.cs.StreamEncoder.implWrite(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)
at java.io.OutputStreamWriter.write(Unknown Source)
at java.io.BufferedWriter.flushBuffer(Unknown Source)
at java.io.PrintStream.write(Unknown Source)
at java.io.PrintStream.print(Unknown Source)
at java.io.PrintStream.println(Unknown Source)
at standard.StackOverflowErrorDemo.RecursiveSayHello(StackOverflowErrorDemo.java:7)
at standard.StackOverflowErrorDemo.RecursiveSayHello(StackOverflowErrorDemo.java:8)
239 MB used
240 MB used
241 MB used
242 MB used
243 MB used
244 MB used
245 MB used
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at standard.OutOfMemoryErrorDemo.main(OutOfMemoryErrorDemo.java:11)
Если не удалось найти и скачать презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:
Email: Нажмите что бы посмотреть