Package org.olat.core.logging

Examples of org.olat.core.logging.AssertException


      // init with vertical layout
      flc = FormLayoutContainer.createVerticalFormLayout("ffo_vertical", getTranslator());   
      mainForm = Form.create("ffo_main_vertical", flc, this);

    } else if (layout == LAYOUT_CUSTOM) {
      throw new AssertException("Use another constructor to work with a custom layout!");

    } else {
      // init with default layout
      flc = FormLayoutContainer.createDefaultFormLayout("ffo_default", getTranslator());
      mainForm = Form.create("ffo_main_default", flc, this);
View Full Code Here


    } else if (triggerElement instanceof MultipleSelectionElement) {
      retVal = new MultiSelectionTriggerdDependencyRule((MultipleSelectionElement) triggerElement, (String) triggerValue, targets, type);
    } else if (triggerElement instanceof TextElement) {
      retVal = new TextElementTriggerdDependencyRule((TextElement) triggerElement, (String) triggerValue, targets, type);
    } else {
      throw new AssertException("Form Item of type <" + triggerElement.getClass().getName() + "> not yet supported as TRIGGERELEMENT");
    }
    //
    return retVal;
  }
View Full Code Here

  /**
   * @see org.olat.core.gui.components.table.ColumnDescriptor#compareTo(int, int)
   */
  public int compareTo(int rowa, int rowb) {
    throw new AssertException("staticcolumndescriptor was called to be sorted, but did not offer to be sorted");
  }
View Full Code Here

  public List getObjects() {
    return objects;
  }

  public Object createCopyWithEmptyList() {
    throw new AssertException("createCopyWithEmptyList not implemented!");
  }
View Full Code Here

            break;
          case FormItemDependencyRuleImpl.RESET:
            element.reset();
            break;
          default:
            throw new AssertException("unsupported action in dependency rule");
        }
      }
    }

    return true;
View Full Code Here

* @author Christian Guretzki
*/
public abstract class BaseTableDataModelWithoutFilter implements TableDataModel {

  public Object getObject(int row){
    throw new AssertException("getObject not supported for this tableDataModel");
  }
View Full Code Here

  public Object getObject(int row){
    throw new AssertException("getObject not supported for this tableDataModel");
  }

  public void setObjects(List objects) {
    throw new AssertException("setObjects not supported for this tableDataModel");
  }
View Full Code Here

  public void setObjects(List objects) {
    throw new AssertException("setObjects not supported for this tableDataModel");
  }

  public Object createCopyWithEmptyList() {
    throw new AssertException("createCopyWithEmptyList not supported for this tableDataModel");
  }
View Full Code Here

    } catch (InvocationTargetException e) {
      re = e;
    }
    finally {
      if (re != null) {
        throw new AssertException("could not create controller via reflection. classname:"+className, re);
      }
    }
    return null;
  }
View Full Code Here

   */
  public void setValues(String[] values) {
    if (values == null) {
      setChecked(false);
    } else {
      if (values.length != 1) throw new AssertException("got multiple values for checkbox field:" + getName());
      // value is not interesting, since this is a single checkbox as a
      // formelement
      setChecked(true);
    }
  }
View Full Code Here

TOP

Related Classes of org.olat.core.logging.AssertException

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.