Package org.apache.parquet
Class ShouldNeverHappenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.parquet.ParquetRuntimeException
-
- org.apache.parquet.ShouldNeverHappenException
-
- All Implemented Interfaces:
Serializable
public class ShouldNeverHappenException extends ParquetRuntimeException
Used in code blocks that should be unreachable, but the compiler does not know this, for example the default clause of an exhaustive switch statement.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShouldNeverHappenException()
ShouldNeverHappenException(String message)
ShouldNeverHappenException(String message, Throwable cause)
ShouldNeverHappenException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-