Java Object NVL nvl(T t, String message)

Here you can find the source of nvl(T t, String message)

Description

nvl

License

Apache License

Declaration

public static <T> T nvl(T t, String message) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static <T> T nvl(T t, String message) {
        if (t == null)
            throw new IllegalArgumentException(message);
        return (T) t;
    }/*w  w w.  j av a2 s.  c om*/
}

Related

  1. nvl(T mainValue, T... fallbackValues)
  2. nvl(T o, T replacement)
  3. nvl(T o, T valueIfNull)
  4. nvl(T object, T defaultValue)
  5. nvl(T s, T def)
  6. nvl(T t, String message)
  7. nvl(T value, String defValue)
  8. nvl(T value, T defaultValue)
  9. nvl(T value, T ifnull)