RequirementsHelper
Helper class used by code generated by the require macro.
Attributes
- Source
- Requirements.scala
- Graph
-
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Require that the passed in Bool is true, else fail with IllegalArgumentException.
Require that the passed in Bool is true, else fail with IllegalArgumentException.
Value parameters
- bool
-
the
Boolto check as requirement - clue
-
optional clue to be included in
IllegalArgumentException's error message when the requirement failed
Attributes
- Source
- Requirements.scala
Require that all of the passed in arguments are not null, else fail with NullArgumentException.
Require that all of the passed in arguments are not null, else fail with NullArgumentException.
Value parameters
- arguments
-
arguments to check for
nullvalue - variableNames
-
names of variable passed as appear in source
Attributes
- Source
- Requirements.scala
Require that the passed in Bool is true, else fail with IllegalStateException.
Require that the passed in Bool is true, else fail with IllegalStateException.
Value parameters
- bool
-
the
Boolto check as requirement - clue
-
optional clue to be included in
IllegalStateException's error message when the requirement failed
Attributes
- Source
- Requirements.scala