Registry / utility / com-io7m-junreachable-core

com-io7m-junreachable-core

JSON →
library4.0.2javamavenunverified

Provides exception types for marking unreachable or unimplemented code paths.

<dependency> <groupId>com.io7m.junreachable</groupId> <artifactId>com.io7m.junreachable.core</artifactId> <version>4.0.2</version> </dependency>
INSTALL
IMPORT
SIG · COM-IO7M-JUNREACHA
C
com-io7m-junreachable-core
utilityjavav4.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

UnreachableCodeException
com.io7m.junreachable.core.UnreachableCodeException

Throwing UnreachableCodeException for impossible branches

import com.io7m.junreachable.core.UnreachableCodeException; public class Example { public void method(int x) { switch (x) { case 0: break; default: throw new UnreachableCodeException(); } } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
com-io7m-junreachable-core — mvn dependency:get com-io7m-junreachable-core · libregistry