Package org.apache.empire.exceptions

Examples of org.apache.empire.exceptions.InternalException


    {
        HtmlInputText input;
    try {
      input = inputComponentClass.newInstance();
    } catch (InstantiationException e1) {
      throw new InternalException(e1);
    } catch (IllegalAccessException e2) {
      throw new InternalException(e2);
    }
        copyAttributes(parent, ii, input);
       
        int maxLength = 0;
        DataType type = ii.getColumn().getDataType();
View Full Code Here


    public HtmlSelectOneMenu createMenuComponent(UIComponent parent)
    {
        try {
            return inputComponentClass.newInstance();
        } catch (InstantiationException e1) {
            throw new InternalException(e1);
        } catch (IllegalAccessException e2) {
            throw new InternalException(e2);
        }
    }
View Full Code Here

    {
        HtmlSelectOneMenu input;
    try {
      input = inputComponentClass.newInstance();
    } catch (InstantiationException e1) {
      throw new InternalException(e1);
    } catch (IllegalAccessException e2) {
      throw new InternalException(e2);
    }
        copyAttributes(parent, ii, input);

        Options options = ii.getOptions();
        if (ii.isRequired()==false)
View Full Code Here

    {
        HtmlSelectBooleanCheckbox input;
        try
        {   input = inputComponentClass.newInstance();
    } catch (InstantiationException e1) {
      throw new InternalException(e1);
    } catch (IllegalAccessException e2) {
      throw new InternalException(e2);
    }
        copyAttributes(parent, ii, input);
       
        setInputValue(input, ii);
        input.setDisabled(ii.isDisabled());
View Full Code Here

        {
            input = inputComponentClass.newInstance();
        }
        catch (InstantiationException e1)
        {
            throw new InternalException(e1);
        }
        catch (IllegalAccessException e2)
        {
            throw new InternalException(e2);
        }

        copyAttributes(parent, ii, input);
        setInputValue(input, ii);
        input.setDisabled(ii.isDisabled());
View Full Code Here

    {
        HtmlInputTextarea input;
    try {
      input = inputComponentClass.newInstance();
    } catch (InstantiationException e1) {
      throw new InternalException(e1);
    } catch (IllegalAccessException e2) {
      throw new InternalException(e2);
    }
        copyAttributes(parent, ii, input);
       
        int cols = getFormatInteger(ii, FORMAT_COLS, FORMAT_COLS_ATTRIBUTE);
        if (cols>0)
View Full Code Here

            if (log.isDebugEnabled())
                log.debug("querySimpleList retured " + count + " items. Query completed in " + (System.currentTimeMillis() - start) + " ms");
            return count;
        } catch (ClassCastException e)
        {   log.error("querySingleValue cast exception: ", e);
            throw new InternalException(e);
        } catch (SQLException sqle)
        {   // Error
            throw new QueryFailedException(this, sqlCmd, sqle);
        } finally
        { // Cleanup
View Full Code Here

            log.error("Invalid XML in configuration file {}", fileName, e);
            throw new FileParseException(fileName, e);
        } catch (ParserConfigurationException e)
        {
            log.error("ParserConfigurationException: {}", e.getMessage(), e);
            throw new InternalException(e);
        } finally
        {
          close(reader);
          close(inputStream);
        }
View Full Code Here

            if (log.isInfoEnabled())
                log.info("querySimpleList retured " + count + " items. Query completed in " + (System.currentTimeMillis() - start) + " ms");
            return count;
        } catch (ClassCastException e)
        {   log.error("querySingleValue cast exception: ", e);
            throw new InternalException(e);
        } catch (SQLException sqle)
        {   // Error
            throw new QueryFailedException(this, sqlCmd, sqle);
        } finally
        { // Cleanup
View Full Code Here

            // done
            return clone;
           
        } catch (CloneNotSupportedException e) {
            log.error("Cloning DBCommand object failed!", e);
            throw new InternalException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.empire.exceptions.InternalException

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.