drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ElementEditor.java
protected static void ensureNotNull(String message, Object object) throws MalformedElementException {
        if (object == null)
            throw new MalformedElementException(message);
    }
protected static void ensureNotNull(String message, Object object) throws MalformedElementException {
        if (object == null)
            throw new MalformedElementException(message);
    }
Ensures that the given object is not <code>null</code>.

@param message the message for the exception that is thrown if the
object is <code>null</code>
@param object  the object, or <code>null</code>
@throws        MalformedElementException if the given object is
<code>null</code>