public class UnexpectedException extends RuntimeException
Could be used when programmer think it is not logic to reach somewhere. For example, the default branch of a switch case on an enum value
| Constructor and Description |
|---|
UnexpectedException() |
UnexpectedException(String message) |
UnexpectedException(String message,
Object... args) |
UnexpectedException(Throwable cause) |
UnexpectedException(Throwable cause,
String message,
Object... args) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.