Modifier and Type | Method and Description |
---|---|
void |
failObjectNotNull(Object caller,
String referenceName)
Fails specified reference, since it passed a not-null check.
|
void |
failObjectNotNull(Object caller,
String referenceName,
String message)
Fails specified reference, since it passed a not-null check.
|
void failObjectNotNull(Object caller, String referenceName)
caller
- object calling checker and then failer (reference check asserted)referenceName
- name of reference to failIllegalArgumentException
- if caller is nullvoid failObjectNotNull(Object caller, String referenceName, String message)
caller
- object calling checker and then failer (reference check asserted)referenceName
- name of reference to failmessage
- additional informationIllegalArgumentException
- if caller is nullThe MIT License (MIT) - Copyright © 2014-2015 Keld Oelykke. All Rights Reserved.