Java Exception class supplement
fangyincheng opened this issue · 10 comments
Explain
- Your files should be in the java_exception folder, and named in format of [exception name].go. Reference java_exception.go
- Test should be in the java_exception_test.go. Reference java_exception_test.go
- Please reply the number to represent your work, thanks.
- Welcome to add more exceptions to issue.
1
- RuntimeException
- IncompleteAnnotationException
- AnnotationTypeMismatchException
- NegativeArraySizeException
- UnsupportedOperationException
- ArithmeticException
2
- IllegalMonitorStateException
- ArrayStoreException
- IllegalStateException
- ClassCastException
- UncheckedIOException
- EnumConstantNotPresentException
3
- NullPointerException
- TypeNotPresentException
- UndeclaredThrowableException
- MalformedParametersException
- WrongMethodTypeException
- MalformedParameterizedTypeException
4
- SecurityException
- IllegalArgumentException
- IllegalThreadStateException
- NumberFormatException
- IndexOutOfBoundsException
- ArrayIndexOutOfBoundsException
- StringIndexOutOfBoundsException
5
- IllegalClassFormatException
- ReflectiveOperationException
- InvocationTargetException
- NoSuchMethodException
- NoSuchFieldException
- IllegalAccessException
- ClassNotFoundException
- InstantiationException
6
- CloneNotSupportedException
- UnmodifiableClassException
- InterruptedException
- LambdaConversionException
- IOException
- InterruptedIOException
7
- UncheckedIOException
- FileNotFoundException
- EOFException
- SyncFailedException
- ObjectStreamException
- WriteAbortedException
- InvalidObjectException
- StreamCorruptedException
- InvalidClassException
- OptionalDataException
- NotActiveException
- NotSerializableException
- UTFDataFormatException
8
-
DateTimeException
-
UnsupportedTemporalTypeException
-
ZoneRulesException
-
DateTimeParseException
-
FormatterClosedException
-
CancellationException
-
UnknownFormatConversionException
-
UnknownFormatFlagsException
-
IllegalFormatFlagsException
-
IllegalFormatPrecisionException
-
IllegalFormatCodePointException
-
MissingFormatArgumentException
-
MissingFormatWidthException
9
- IllegalFormatWidthException
- IllegalFormatConversionException
- DuplicateFormatFlagsException
- MissingResourceException
- ConcurrentModificationException
- RejectedExecutionException
- CompletionException
- EmptyStackException
- IllformedLocaleException
- NoSuchElementException
- InputMismatchException
- ExecutionException
- InvalidPreferencesFormatException
- TimeoutException
- BackingStoreException
- DataFormatException
- BrokenBarrierException
- TooManyListenersException
- InvalidPropertiesFormatException
- ZipException
- JarException
i will impl 1th
6吧 done.
2 done.
3 done.
4 done.
5
7 done.
8
I will handle half of 9 .
IllegalFormatWidthException
IllegalFormatConversionException
DuplicateFormatFlagsException
MissingResourceException
ConcurrentModificationException
RejectedExecutionException
CompletionException
EmptyStackException
IllformedLocaleException
NoSuchElementException
done.
I will do these half of 9:
- InputMismatchException
- ExecutionException
- InvalidPreferencesFormatException
- TimeoutException
- BackingStoreException
- DataFormatException
- BrokenBarrierException
- TooManyListenersException
- InvalidPropertiesFormatException
- ZipException
- JarException
done.