JSException
Using Java-style named exceptions in JavaScript. 😄
在 JavaScript 里使用 Java 风格命名的异常。
异常的层次结构
- Exception
- DataFormatException
- ParseException
- RuntimeException
- ArithmeticException
- IllegalArgumentException
- IndexOutOfBoundsException
- NullPointerException
- UnsupportedOperationException
- NotImplementedException
- IOException
- FileNotFoundException
- FileSystemException
- AccessDeniedException
- DirectoryNotEmptyException
- FileAlreadyExistsException
- NotDirectoryException
- IsDirectoryException