Package com.antlersoft.query

Examples of com.antlersoft.query.BindException


  /* (non-Javadoc)
   * @see com.antlersoft.query.Bindable#lateBindApplies(java.lang.Class)
   */
  public void lateBindApplies(Class new_applies) throws BindException {
    if ( ! appliesClass().isAssignableFrom( new_applies))
      throw new BindException( "IsArray only applies to types");
  }
View Full Code Here


        }
        else if ( newResultClass==DBReference.class)
        {
        }
        else
        throw new BindException(
          getClass().getName()+" can not be bound for result to "+
                newResultClass.getName());
  }
View Full Code Here

        {
            m_applies=DBField.class;
            m_result=DBFieldReference.class;
        }
        else
        throw new BindException(
          getClass().getName()+" can not be bound for applies to "+
                newAppliesClass.getName());
  }
View Full Code Here

  /* (non-Javadoc)
   * @see com.antlersoft.query.Bindable#lateBindApplies(java.lang.Class)
   */
  public void lateBindApplies(Class new_applies) throws BindException {
    if ( ! appliesClass().isAssignableFrom( new_applies))
      throw new BindException( "IsReferenceType only applies to types");
  }
View Full Code Here

abstract class FilterOnAccessFlagsTypes extends CountPreservingFilter {
    public void lateBindApplies( Class new_applies)
    throws BindException
    {
        if ( ! AccessFlags.class.isAssignableFrom( new_applies))
            throw new BindException( "Failed to bind: "+new_applies.getName()+".  Does not implement AccessFlags");
        if ( m_filter_class==null)
            m_filter_class=new_applies;
        else
        if ( m_filter_class.isAssignableFrom( new_applies))
            m_filter_class=new_applies;
        else
            throw new BindException( "Failed to bind: "+new_applies.getName()+".  Not compatible with "+m_filter_class.getName());
    }
View Full Code Here

   */
    public void lateBindApplies( Class new_applies)
    throws BindException
    {
        if ( ! HasProperties.class.isAssignableFrom( new_applies))
            throw new BindException( "Failed to bind: "+new_applies.getName()+".  Does not implement HasProperties");
    if ( _appliesClass==null)
        _appliesClass=new_applies;
    else
    if ( _appliesClass.isAssignableFrom( new_applies))
        _appliesClass=new_applies;
    else
        throw new BindException( "Failed to bind: "+new_applies.getName()+".  Not compatible with "+_appliesClass.getName());
  }
View Full Code Here

        }
        else if ( newResultClass==DBReference.class)
        {
        }
        else
        throw new BindException(
          getClass().getName()+" can not be bound for result to "+
                newResultClass.getName());
  }
View Full Code Here

        {
            m_applies=DBField.class;
            m_result=DBFieldReference.class;
        }
        else
        throw new BindException(
          getClass().getName()+" can not be bound for applies to "+
                newAppliesClass.getName());
  }
View Full Code Here

TOP

Related Classes of com.antlersoft.query.BindException

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.