package nthportal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- nthportal
- ExtraPredefCore
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- implicit final class ExtraRichEither [+A, +B] extends AnyVal
- implicit final class ExtraRichNullable [A] extends AnyVal
- implicit final class ExtraRichOption [+A] extends AnyVal
- implicit final class ExtraRichOrdered [A <: Ordered[A]] extends AnyVal
- implicit final class ExtraRichOrderedInt extends AnyVal
- implicit final class ExtraRichOrdering [T] extends AnyVal
- implicit final class ExtraRichTry [+A] extends AnyVal
Value Members
-
def
requireState(requirement: Boolean, message: ⇒ Any): Unit
Tests an expression, throwing an IllegalStateException if false.
Tests an expression, throwing an IllegalStateException if false. This method is similar to
Predef.require
, but tests a state instead of a method argument.- requirement
the expression to test
- message
a String to include in the failure message
- Definition Classes
- ExtraPredefCore
- Annotations
- @inline() @throws( ... )
- Exceptions thrown
IllegalStateException
if the expression is false
-
def
requireState(requirement: Boolean): Unit
Tests an expression, throwing an IllegalStateException if false.
Tests an expression, throwing an IllegalStateException if false. This method is similar to
Predef.require
, but tests a state instead of a method argument.- requirement
the expression to test
- Definition Classes
- ExtraPredefCore
- Annotations
- @inline() @throws( ... )
- Exceptions thrown
IllegalStateException
if the expression is false