hudson.plugins.jabber.tools
Class Assert

java.lang.Object
  extended by hudson.plugins.jabber.tools.Assert

public final class Assert
extends java.lang.Object

Convenience.

Author:
Uwe Schaefer

Method Summary
static void isNotNull(java.lang.Object object)
          Asserts that given object is not null.
static void isNotNull(java.lang.Object obj, java.lang.String msg)
          Asserts that given object is not null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isNotNull

public static final void isNotNull(java.lang.Object object)
                            throws hudson.plugins.jabber.tools.Assert.AssertionFailedException
Asserts that given object is not null.

Parameters:
object - to check against null
Throws:
AssertionFailedException - if object was null
hudson.plugins.jabber.tools.Assert.AssertionFailedException

isNotNull

public static final void isNotNull(java.lang.Object obj,
                                   java.lang.String msg)
Asserts that given object is not null.

Parameters:
object - to check against null
Throws:
AssertionFailedException - if object was null


Copyright © 2009. All Rights Reserved.