Java Assert Not Null assertNotNull(String fieldName, Object object)

Here you can find the source of assertNotNull(String fieldName, Object object)

Description

assert Not Null

License

Open Source License

Declaration

private static void assertNotNull(String fieldName, Object object) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static void assertNotNull(String fieldName, Object object) {
        //if(object == null)
        //    throw new DetailedNullPointerException(fieldName);
        //else/*from  w w w. j  a  va2 s  .  co  m*/
        return;
    }
}

Related

  1. assertNotNull(Object value)
  2. assertNotNull(Object... objects)
  3. assertNotNull(Object... params)
  4. assertNotNull(Object... params)
  5. assertNotNull(String errorMessage, Object... args)
  6. assertNotNull(String message, Object object)
  7. assertNotNull(String message, Object val)
  8. assertNotNull(String variableName, Object value)
  9. assertNotNull(StringBuilder buffer)