Package org.dspace.app.xmlui.wing

Examples of org.dspace.app.xmlui.wing.WingInvalidArgument


    protected void greater(int parameter, int greater, String message)
            throws WingInvalidArgument
    {
        if (parameter <= greater)
        {
            throw new WingInvalidArgument(message);
        }
    }
View Full Code Here


    protected void lesser(int parameter, int lesser, String message)
            throws WingInvalidArgument
    {
        if (parameter >= lesser)
        {
            throw new WingInvalidArgument(message);
        }
    }
View Full Code Here

    protected void requireFalse(boolean test, String message)
            throws WingInvalidArgument
    {
        if (test)
        {
            throw new WingInvalidArgument(message);
        }
    }
View Full Code Here

    protected void requireTrue(boolean test, String message)
            throws WingInvalidArgument
    {
        if (!test)
        {
            throw new WingInvalidArgument(message);
        }
    }
View Full Code Here

TOP

Related Classes of org.dspace.app.xmlui.wing.WingInvalidArgument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.