Uses of Class
openjava.mop.MOPException

Packages that use MOPException
openjava.mop Provides classes that are fundamental to the design of the OpenJava Meta-Object Protocols (MOP).  
openjava.ptree.util   
 

Uses of MOPException in openjava.mop
 

Subclasses of MOPException in openjava.mop
 class AmbiguousClassesException
          The exception AmbiguousClassesException is thrown if the additional OJClass object has the same name with another OJClass object's.
 class CannotAlterException
          CannotAlterException is thrown if the requested change cannot be performed on the class object, the method object, or the field object.
 class CannotExecuteException
          CannotExecuteException is thrown if the requested introspection cannot be performed on the class object, the method object, or the field object, which needs a java's Class object not available.
 class CannotInspectException
          The exception CannotInspectException is thrown if the requested introspection cannot be performed on the class object, the method object, or the field object.
 class NoSuchMemberException
          The exception NoSuchMemberException is thrown when the requested class object does not have the coressponding member.
 class OJClassNotFoundException
          The exception OJClassNotFoundException is thrown when an application tries to load in a class through its string name using forName method in class OJClass. but no definition for the class with the specifed name could be found.
 

Methods in openjava.mop that throw MOPException
static void OJSystem.addNewClass(OJClass clazz)
          Adds an new public class to be generated.
protected static Expression OJClass.makeExpression(Environment env, java.lang.String str)
          Generates a expression parse tree from a given String object under the given environment.
protected  Expression OJClass.makeExpression(java.lang.String str)
          Generates an expression parse tree from a given String object under the environment of this class object.
protected static Statement OJClass.makeStatement(Environment env, java.lang.String str)
          Generates a statement parse tree from a given String object under the given environment.
protected  Statement OJClass.makeStatement(java.lang.String str)
          Generates a statement parse tree from a given String object under the environment of this class object.
protected static StatementList OJClass.makeStatementList(Environment env, java.lang.String str)
          Generates a statement list parse tree from a given String object under the given environment.
protected  StatementList OJClass.makeStatementList(java.lang.String str)
          Generates a statement list parse tree from a given String object under the environment of this class object.
 OJClass OJClass.makeCopy(java.lang.String qname)
          Generate a copy of this class object with the specified name.
 void OJClass.waitTranslation(OJClass clazz)
          Waits a callee-side translation on another class metaobject to be done.
 void OJClass.translateDefinition()
           
 ClassDeclaration OJClass.translateDefinition(Environment env, ClassDeclaration decl)
           
 void Metaclass.translateDefinition()
           
 

Uses of MOPException in openjava.ptree.util
 

Methods in openjava.ptree.util that throw MOPException
static java.lang.String PartialParser.replace(java.lang.String base, java.lang.Object[] args)
          Replaces "#s" "#EXPR" "#STMT" "#STMTS" in the given string with the given arguments.
static java.lang.String PartialParser.replace(java.lang.String base, java.lang.Object a0)
           
static java.lang.String PartialParser.replace(java.lang.String base, java.lang.Object a0, java.lang.Object a1)
           
static java.lang.String PartialParser.replace(java.lang.String base, java.lang.Object a0, java.lang.Object a1, java.lang.Object a2)
           
static java.lang.String PartialParser.replace(java.lang.String base, java.lang.Object a0, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3)
           
static java.lang.String PartialParser.replace(java.lang.String base, java.lang.Object a0, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4)
           
static java.lang.String PartialParser.replace(java.lang.String base, java.lang.Object a0, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5)
           
static java.lang.String PartialParser.replace(java.lang.String base, java.lang.Object a0, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5, java.lang.Object a6)
           
static java.lang.String PartialParser.replace(java.lang.String base, java.lang.Object a0, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5, java.lang.Object a6, java.lang.Object a7)
           
static Expression PartialParser.makeExpression(Environment env, java.lang.String str)
          Makes a ptree node from the string like :
"i + 3"
or :
"f()"
static Statement PartialParser.makeStatement(Environment env, java.lang.String str)
          Makes a ptree node from the string like :
"i++;"
or :
"for(;;){ f(); }"
But local variable declarations are not allowed.
static StatementList PartialParser.makeStatementList(Environment env, java.lang.String str)
          Makes ptree node from the string like :
"i++; j = 3;"
Local variable declarations like following can also be parsed.
static MemberDeclaration PartialParser.makeMemberDeclaration(java.lang.String str)
          NOT IMPLEMENTED Makes ptree node from the string like :
"int f(){ return 1; }"
or :
"public String str;"
static MemberDeclarationList PartialParser.makeMemberDeclarationList(java.lang.String str)
          NOT IMPLEMENTED Makes a ptree node from the string like :
"int f(){ return 1; }" + "public String str;"