Package com.caucho.quercus.env

Examples of com.caucho.quercus.env.QuercusLanguageException


  public ReflectionMethod getMethod(Env env, StringValue name)
  {
    AbstractFunction fun = _cls.findFunction(name);
   
    if (fun == null)
      throw new QuercusLanguageException(
        env.createException("ReflectionException",
                            L.l("method {0}::{1}() does not exist", _name, name)));
   
    return new ReflectionMethod(_name, _cls.getFunction(name));
   
View Full Code Here


   
    if (field == null) {
      if (! defaultV.isDefault())
        return defaultV;
      else
        throw new QuercusLanguageException(
            env.createException("ReflectionException",
                                L.l("Class '{0}' does not have a property named '{1}'", _name, name)));
    }

    return field;
View Full Code Here

  public ReflectionMethod getMethod(Env env, String name)
  {
    AbstractFunction fun = _cls.findFunction(name);
   
    if (fun == null)
      throw new QuercusLanguageException(
        env.createException("ReflectionException",
                            L.l("method {0}::{1}() does not exist", _name, name)));
   
    return new ReflectionMethod(_name, _cls.getFunction(name));
   
View Full Code Here

   
    if (field == null) {
      if (! defaultV.isDefault())
        return defaultV;
      else
        throw new QuercusLanguageException(
            env.createException("ReflectionException",
                                L.l("Class '{0}' does not have a property named '{1}'", _name, name)));
    }

    return field.toValue();
View Full Code Here

  public ReflectionMethod getMethod(Env env, StringValue name)
  {
    AbstractFunction fun = _cls.findFunction(name);
   
    if (fun == null)
      throw new QuercusLanguageException(
        env.createException("ReflectionException",
                            L.l(
                                "method {0}::{1}() does not exist",
                                _name,
                                name)));
View Full Code Here

   
    if (field == null) {
      if (! defaultV.isDefault())
        return defaultV;
      else
        throw new QuercusLanguageException(
            env.createException(
                "ReflectionException",
                L.l(
                    "Class '{0}' does not have a property named '{1}'",
                    _name,
View Full Code Here

TOP

Related Classes of com.caucho.quercus.env.QuercusLanguageException

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.