|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wis.jtlv.env.Env
public final class Env
The main JTLV environment Facade, which supplies all API to basic functionalities through delegators to the private internal managers. The environment is somewhat corresponding to the java "System" environment.
The two main field which Env is delegating with are: The JTLVBDDManager, which is responsible of communicating with the actual BDD implementation (through JavaBDD package). The JTLVBDDManagerPairing, which is responsible of all BDD naming and coupling operations (i.e. prime and unprime versions of all fields).
| Nested Class Summary | |
|---|---|
static class |
Env.JTLVBDDToString
TBD. |
| Field Summary | |
|---|---|
static java.util.LinkedList<ErrorListener> |
all_error_listeners
A list of all error listeners which are invoked on any kind of error in the system. |
static Env.JTLVBDDToString |
stringer
An object responsible for associating BDD variables to their names. |
static java.lang.String |
version
JTLV version count. |
| Method Summary | |
|---|---|
static net.sf.javabdd.BDD |
allPred(net.sf.javabdd.BDD trans,
net.sf.javabdd.BDD to)
Given a set of state and a transitions, this procedure return all states which can lead in any number of steps to these states. |
static net.sf.javabdd.BDD |
allSucc(net.sf.javabdd.BDD trans,
net.sf.javabdd.BDD from)
Given a set of state and a transitions, this procedure return all states which can be reached in a any number of steps from these states. |
static int |
assignDedicatedBDDManagerIdx(JTLVThread new_thread)
A procedure called from within JTLVThread which allocates and assign a manager to the given thread. |
static void |
beQuiet()
Turning off the garbage collection verbosity. |
static void |
clearErrorListener()
Clears the entire listeners queue. |
static boolean |
containPrimeVars(net.sf.javabdd.BDD set)
Check whether the given BDD contains prime version of the fields. |
static boolean |
containUnprimeVars(net.sf.javabdd.BDD set)
Check whether the given BDD contains unprime version of the fields. |
static net.sf.javabdd.BDD |
copyBDDIntoBaseManager(net.sf.javabdd.BDD b)
Copy any given BDD into the base BDD manager. |
static net.sf.javabdd.BDD |
copyBDDIntoManager(int idx,
net.sf.javabdd.BDD b)
Copy any given BDD into the a given BDD manager. |
static net.sf.javabdd.BDDVarSet |
copyBDDVarSetIntoBaseManager(net.sf.javabdd.BDDVarSet b)
Copy any given BDDVarSet into the base BDD manager. |
static net.sf.javabdd.BDDVarSet |
copyBDDVarSetIntoManager(int idx,
net.sf.javabdd.BDDVarSet b)
Copy any given BDDVarSet into the a given BDD manager. |
static Module[] |
debugParseModule(java.lang.String filename)
This procedure parse the given file, add it to the system, and pops a window browser with the parsing tree which the parser read. |
static void |
doError(java.lang.Exception e,
java.lang.String msg)
Invoke the listeners queue with the given exception. |
static void |
doOnGC(java.lang.reflect.Method m_gc)
Register a procedure to be done at every garbage collection. |
static void |
doOnResize(java.lang.reflect.Method m_resize)
Register a procedure to be done at every resize to the BDD table. |
static net.sf.javabdd.BDD |
FALSE()
The constant FALSE BDD. |
static Module[] |
getAllModules()
Get all module objects currently loaded into the environment. |
static int |
getCurrentThreadManagerIdx()
Get the current running thread BDD manager index. |
static net.sf.javabdd.BDDVarSet |
getEmptySet()
The empty set of fields. |
static java.lang.String |
getFactoryName()
The factory package which is currently used by the environment to allocate new BDD fields. |
static Module |
getModule(java.lang.String full_inst_name)
Get a module instance by its associated full path string. |
static java.util.Set<java.lang.String> |
getModuleNames()
The set of all names which are associated with the modules loaded to the environment. |
static int |
getModuleNum()
Get the number of modules currently loaded into the environment. |
static int |
getThreadPoolSize()
The number of BDD managers in this environment. |
static ModuleBDDField |
getVar(java.lang.String preface,
java.lang.String name)
Search and retrieve the BDD field by the given path and field name. |
static net.sf.javabdd.BDDVarSet |
globalPrimeVars()
Get all primed variables in the system. |
static net.sf.javabdd.BDDVarSet |
globalPrimeVarsMinus(net.sf.javabdd.BDDVarSet primeMinus)
|
static net.sf.javabdd.BDDVarSet |
globalUnprimeVars()
Get all unprimed variables in the system. |
static net.sf.javabdd.BDDVarSet |
globalUnprimeVarsMinus(net.sf.javabdd.BDDVarSet unprimeMinus)
|
static net.sf.javabdd.BDDVarSet |
globalVarsMinus(net.sf.javabdd.BDDVarSet minus)
|
static net.sf.javabdd.BDDVarSet |
intersect(net.sf.javabdd.BDDVarSet a,
net.sf.javabdd.BDDVarSet b)
|
static net.sf.javabdd.BDD |
loadBDD(java.lang.String filename)
Load a BDD from the file system. |
static Module[] |
loadModule(java.lang.String filename)
The main procedure for loading a given file into the system. |
static Spec[] |
loadSpecFile(java.lang.String filename)
Load any kind of specification from a file. |
static Spec[] |
loadSpecInputStream(java.io.InputStream is)
Load any kind of specification from a given input stream. |
static Spec[] |
loadSpecString(java.lang.String to_parse)
Load any kind of specification from a string. |
static ModuleBDDField |
newVar(java.lang.String preface,
java.lang.String name)
Create and allocate a new BDD FIELD with 2 values domain. |
static ModuleBDDField |
newVar(java.lang.String preface,
java.lang.String name,
int values_size)
Create and allocate a new BDD FIELD with the given domain size, i.e. |
static void |
NOP()
An empty procedure for shutting down the Garbage collection verbosity. |
static Module[] |
parseModule(java.lang.String filename)
This procedure only parse the given file and add it to the system. |
static net.sf.javabdd.BDD |
pred(net.sf.javabdd.BDD trans,
net.sf.javabdd.BDD to)
Given a set of state and a transitions, this procedure return all states which can lead in a single step to these states. |
static net.sf.javabdd.BDD |
prime(net.sf.javabdd.BDD unp_bdd)
Given an unprimed BDD, returns the exact same BDD with the primed version of the variables. |
static net.sf.javabdd.BDD |
prime(net.sf.javabdd.BDD unp_bdd,
ModuleBDDField[] couples)
Given a BDD, returns the exact same BDD with the primed version of the given fields array. |
static void |
putModule(java.lang.String full_inst_name,
Module to_add)
Add a new module to the collection of all modules, and associate it with the given string. |
static boolean |
registerErrorListener(ErrorListener lis)
Register an error listener to be invoked on every error which is thrown in the JTLV environment. |
static boolean |
removeErrorListener(ErrorListener lis)
Remove an error listener from the queue of listeners. |
static void |
resetEnv()
Reset the environment. |
static void |
saveBDD(java.lang.String filename,
net.sf.javabdd.BDD to_save)
Save a BDD to the file system. |
static net.sf.javabdd.BDD |
succ(net.sf.javabdd.BDD trans,
net.sf.javabdd.BDD from)
Given a set of state and a transitions, this procedure return all states which can be reached in a single step from these states. |
static java.lang.String |
toNiceSignleLineString(net.sf.javabdd.BDD b)
|
static java.lang.String |
toNiceSignleLineString(Module con,
net.sf.javabdd.BDD b)
Prepare a string representing the If-Then-Else form of the given BDD. |
static java.lang.String |
toNiceString(net.sf.javabdd.BDD b)
|
static java.lang.String |
toNiceString(net.sf.javabdd.BDD b,
java.lang.String startIndent)
|
static java.lang.String |
toNiceString(Module con,
net.sf.javabdd.BDD b)
Prepare a string representing the If-Then-Else form of the given BDD. |
static java.lang.String |
toNiceString(Module con,
net.sf.javabdd.BDD b,
java.lang.String startIndent)
Prepare a string representing the If-Then-Else form of the given BDD. |
static net.sf.javabdd.BDD |
TRUE()
The constant TRUE BDD. |
static net.sf.javabdd.BDD |
unprime(net.sf.javabdd.BDD p_bdd)
Given a primed BDD, returns the exact same BDD with the unprimed version of the fields. |
static net.sf.javabdd.BDD |
unprime(net.sf.javabdd.BDD p_bdd,
ModuleBDDField[] couples)
Given a BDD, returns the exact same BDD with the unprimed version of the given fields array. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String version
JTLV version count.
public static Env.JTLVBDDToString stringer
An object responsible for associating BDD variables to their names.
public static java.util.LinkedList<ErrorListener> all_error_listeners
A list of all error listeners which are invoked on any kind of error in the system.
registerErrorListener(ErrorListener),
removeErrorListener(ErrorListener),
clearErrorListener(),
activateErrorListeners(Exception, String),
doError(Exception, String),
ErrorListener| Method Detail |
|---|
public static void resetEnv()
Reset the environment. In particular reset the bdd factory and all fields declared in the environment.
public static int getThreadPoolSize()
The number of BDD managers in this environment. The number is set by the System.property key "pool_size" (plus one additional manager to the main thread) during the time of the last reset.
JTLVThreadpublic static int assignDedicatedBDDManagerIdx(JTLVThread new_thread)
A procedure called from within JTLVThread which allocates and assign a manager to the given thread. Be aware that instantiating and assigning more JTLVThread then the number of managers, will lock this thread until a manager will be freed. (e.g. might lead to a deadlock.)
new_thread - The thread to assign a manager to.
JTLVThread,
getThreadPoolSize()public static int getCurrentThreadManagerIdx()
Get the current running thread BDD manager index.
JTLVThread.getDedicatedBDDManagerIdx()public static net.sf.javabdd.BDD copyBDDIntoBaseManager(net.sf.javabdd.BDD b)
Copy any given BDD into the base BDD manager.
b - The BDD to copy.
JTLVThread.adjustBDDToBase(BDD),
JTLVThread.adjustBDDToManager(BDD)
public static net.sf.javabdd.BDD copyBDDIntoManager(int idx,
net.sf.javabdd.BDD b)
Copy any given BDD into the a given BDD manager.
idx - The given BDD manager index.b - The BDD to copy.
JTLVThread.adjustBDDToBase(BDD),
JTLVThread.adjustBDDToManager(BDD)public static net.sf.javabdd.BDDVarSet copyBDDVarSetIntoBaseManager(net.sf.javabdd.BDDVarSet b)
Copy any given BDDVarSet into the base BDD manager.
b - The BDDVarSet to copy.
JTLVThread.adjustBDDVarSetToBase(BDDVarSet),
JTLVThread.adjustBDDVarSetToManager(BDDVarSet)
public static net.sf.javabdd.BDDVarSet copyBDDVarSetIntoManager(int idx,
net.sf.javabdd.BDDVarSet b)
Copy any given BDDVarSet into the a given BDD manager.
idx - The given BDD manager index.b - The BDDVarSet to copy.
JTLVThread.adjustBDDVarSetToBase(BDDVarSet),
JTLVThread.adjustBDDVarSetToManager(BDDVarSet)public static Module[] getAllModules()
Get all module objects currently loaded into the environment.
putModule(String, Module),
getModule(String),
Module,
FDSModule,
SMVModulepublic static Module getModule(java.lang.String full_inst_name)
Get a module instance by its associated full path string.
full_inst_name - the full path string to the instance.
putModule(String, Module),
getAllModules(),
Module,
FDSModule,
SMVModule
public static void putModule(java.lang.String full_inst_name,
Module to_add)
Add a new module to the collection of all modules, and associate it with the given string.
full_inst_name - the string to associate this module with.to_add - the module to add.getAllModules(),
getModule(String),
Module,
FDSModule,
SMVModulepublic static int getModuleNum()
Get the number of modules currently loaded into the environment.
public static java.util.Set<java.lang.String> getModuleNames()
The set of all names which are associated with the modules loaded to the environment.
getAllModules(),
getModule(String)
public static Spec[] loadSpecInputStream(java.io.InputStream is)
throws java.io.IOException
Load any kind of specification from a given input stream.
is - The input stream to parse.
java.io.IOExceptionloadSpecString(String),
loadSpecFile(String)public static Spec[] loadSpecString(java.lang.String to_parse)
Load any kind of specification from a string.
to_parse - The string to parse.
loadSpecInputStream(InputStream),
loadSpecFile(String)
public static Spec[] loadSpecFile(java.lang.String filename)
throws java.io.IOException
Load any kind of specification from a file.
filename - The file to load from.
java.io.IOException - When there where problems reading the file.loadSpecInputStream(InputStream),
loadSpecString(String)
public static Module[] loadModule(java.lang.String filename)
throws java.io.IOException
The main procedure for loading a given file into the system. Currently
two file extensions are supported, *.fds an *.smv. The procedure will
load according to the file extension. The modules loaded are returned.
Alternatively, The modules can also be found through the modules
facilities here: getAllModules() or
getModule(String).
All paring and interpreting exceptions are thrown through the Env error
mechanism. (i.e.
registerErrorListener(ErrorListener)
activateErrorListeners(Exception, String)
doError(Exception, String))
filename - The file to load with file extension *.fds, or *.smv .
java.io.IOException - If there was a problem with the file.parseModule(String),
debugParseModule(String),
getAllModules(),
getModule(String),
registerErrorListener(ErrorListener),
activateErrorListeners(Exception, String),
doError(Exception, String)
public static Module[] parseModule(java.lang.String filename)
throws java.io.IOException
This procedure only parse the given file and add it to the system.
Currently two file extensions are supported, *.fds an *.smv. The
procedure will parse according to the file extension. The modules parsed
are returned. (BUT NOT FILLED WITH THEIR VARIABLES AND STATEMENT, SINCE
THIS IS DONE IN THE INTERPRETATION STAGE.) Alternatively, The modules can
also be found through the modules facilities here:
getAllModules() or
getModule(String).
All paring and interpreting exceptions are thrown through the Env error
mechanism. (i.e.
registerErrorListener(ErrorListener)
activateErrorListeners(Exception, String)
doError(Exception, String))
filename - The file to load with file extension *.fds, or *.smv .
java.io.IOException - If there was a problem with the file.loadModule(String),
debugParseModule(String),
getAllModules(),
getModule(String),
registerErrorListener(ErrorListener),
activateErrorListeners(Exception, String),
doError(Exception, String)
public static Module[] debugParseModule(java.lang.String filename)
throws java.io.IOException
This procedure parse the given file, add it to the system, and pops a
window browser with the parsing tree which the parser read. Currently two
file extensions are supported, *.fds an *.smv. The procedure will parse
according to the file extension. The modules parsed are returned. (BUT
NOT FILLED WITH THEIR VARIABLES AND STATEMENT, SINCE THIS IS DONE IN THE
INTERPRETATION STAGE.) Alternatively, The modules can also be found
through the modules facilities here:
getAllModules() or
getModule(String).
All paring and interpreting exceptions are thrown through the Env error
mechanism. (i.e.
registerErrorListener(ErrorListener)
activateErrorListeners(Exception, String)
doError(Exception, String))
filename - The file to load with file extension *.fds, or *.smv .
java.io.IOException - If there was a problem with the file.loadModule(String),
parseModule(String),
getAllModules(),
getModule(String),
registerErrorListener(ErrorListener),
activateErrorListeners(Exception, String),
doError(Exception, String)public static java.lang.String getFactoryName()
The factory package which is currently used by the environment to allocate new BDD fields.
public static void doOnGC(java.lang.reflect.Method m_gc)
m_gc - The method to perform.beQuiet(),
doOnResize(Method)public static void doOnResize(java.lang.reflect.Method m_resize)
m_resize - The method to perform.beQuiet(),
doOnGC(Method)public static void beQuiet()
Turning off the garbage collection verbosity.
doOnGC(Method),
doOnResize(Method)public static void NOP()
public static net.sf.javabdd.BDD FALSE()
The constant FALSE BDD.
TRUE()public static net.sf.javabdd.BDD TRUE()
The constant TRUE BDD.
FALSE()
public static void saveBDD(java.lang.String filename,
net.sf.javabdd.BDD to_save)
throws java.io.IOException
Save a BDD to the file system.
filename - The file to save the BDD to.to_save - The BDD to save.
java.io.IOException - If the was a problem with creating the file.loadBDD(String)
public static net.sf.javabdd.BDD loadBDD(java.lang.String filename)
throws java.io.IOException
Load a BDD from the file system.
Make sure that the system is configured with the same BDD package which saved the BDD to the file!!
filename - The file to load the BDD from.
java.io.IOException - If the was a problem with reading the file.saveBDD(String, BDD)
public static java.lang.String toNiceString(Module con,
net.sf.javabdd.BDD b)
Prepare a string representing the If-Then-Else form of the given BDD.
This kind of printing is better by an order of magnitude with respect to
simple BDD.toString, which is exponential to the size of the BDD.
The naming is done respective to the given module, i.e. the path leading
to the variable from the given module.
The print is done with line indentation.
It is advise to use this procedure for printing big BDDs!!
con - The module context of the BDD.b - The BDD to prepare string to.
toNiceString(Module, BDD, String),
toNiceSignleLineString(Module, BDD)public static java.lang.String toNiceString(net.sf.javabdd.BDD b)
public static java.lang.String toNiceString(Module con,
net.sf.javabdd.BDD b,
java.lang.String startIndent)
Prepare a string representing the If-Then-Else form of the given BDD.
This kind of printing is better by an order of magnitude with respect to
simple BDD.toString, which is exponential to the size of the BDD.
The naming is done respective to the given module, i.e. the path leading
to the variable from the given module.
The print is done with line indentation starting with the given initial
indentation.
It is advise to use this procedure for printing big BDDs!!
con - The module context of the BDD.b - The BDD to prepare string to.startIndent - The initial indentation.
toNiceString(Module, BDD),
toNiceSignleLineString(Module, BDD)
public static java.lang.String toNiceString(net.sf.javabdd.BDD b,
java.lang.String startIndent)
public static java.lang.String toNiceSignleLineString(Module con,
net.sf.javabdd.BDD b)
Prepare a string representing the If-Then-Else form of the given BDD.
This kind of printing is better by an order of magnitude with respect to
simple BDD.toString, which is exponential to the size of the BDD.
The naming is done respective to the given module, i.e. the path leading
to the variable from the given module.
The print is done in a single line.
It is advise to use this procedure for printing big BDDs!!
con - The module context of the BDD.b - The BDD to prepare string to.
toNiceString(Module, BDD),
toNiceString(Module, BDD, String)public static java.lang.String toNiceSignleLineString(net.sf.javabdd.BDD b)
public static ModuleBDDField getVar(java.lang.String preface,
java.lang.String name)
Search and retrieve the BDD field by the given path and field name.
preface - The path to the field.name - The field name.
public static ModuleBDDField newVar(java.lang.String preface,
java.lang.String name,
int values_size)
throws ModuleVariableException
Create and allocate a new BDD FIELD with the given domain size, i.e. the domain size is exponential to the actual BDD size.
With this field instantiation The BDD is created with an associated
facilities in the environment.
For creating a BDD without the environment field facilities, please refer
to allocBDD(int, int).
preface - The path to the field.name - The field name.values_size - The size of the domain.
ModuleVariableException - If the given name for the new field to create is illegal.newVar(String, String),
allocBDD(int, int)
public static ModuleBDDField newVar(java.lang.String preface,
java.lang.String name)
throws ModuleVariableException
Create and allocate a new BDD FIELD with 2 values domain.
With this field instantiation The BDD is created with an associated
facilities in the environment.
For creating a BDD without the environment field facilities, please refer
to allocBDD(int,int).
preface - The path to the field.name - The field name.
ModuleVariableException - If the given name for the new field to create is illegal.newVar(String, String, int),
allocBDD(int, int)public static net.sf.javabdd.BDDVarSet globalPrimeVars()
Get all primed variables in the system.
public static net.sf.javabdd.BDDVarSet globalUnprimeVars()
Get all unprimed variables in the system.
public static net.sf.javabdd.BDDVarSet globalPrimeVarsMinus(net.sf.javabdd.BDDVarSet primeMinus)
public static net.sf.javabdd.BDDVarSet globalUnprimeVarsMinus(net.sf.javabdd.BDDVarSet unprimeMinus)
public static net.sf.javabdd.BDDVarSet globalVarsMinus(net.sf.javabdd.BDDVarSet minus)
public static net.sf.javabdd.BDD pred(net.sf.javabdd.BDD trans,
net.sf.javabdd.BDD to)
throws net.sf.javabdd.BDDException
Given a set of state and a transitions, this procedure return all states which can lead in a single step to these states.
trans - The given transitions.to - The set of state to be reach.
net.sf.javabdd.BDDException - If there was a problem with the BDD operation.allPred(BDD, BDD),
allSucc(BDD, BDD),
succ(BDD, BDD)
public static net.sf.javabdd.BDD succ(net.sf.javabdd.BDD trans,
net.sf.javabdd.BDD from)
throws net.sf.javabdd.BDDException
Given a set of state and a transitions, this procedure return all states which can be reached in a single step from these states.
trans - The given transitions.from - The given set of state.
net.sf.javabdd.BDDException - If there was a problem with the BDD operation.allPred(BDD, BDD),
allSucc(BDD, BDD),
pred(BDD, BDD)
public static net.sf.javabdd.BDD allPred(net.sf.javabdd.BDD trans,
net.sf.javabdd.BDD to)
throws net.sf.javabdd.BDDException
Given a set of state and a transitions, this procedure return all states which can lead in any number of steps to these states.
trans - The given transitions.to - The set of state to be reach.
net.sf.javabdd.BDDException - If there was a problem with the BDD operation.pred(BDD, BDD),
allSucc(BDD, BDD),
succ(BDD, BDD)
public static net.sf.javabdd.BDD allSucc(net.sf.javabdd.BDD trans,
net.sf.javabdd.BDD from)
throws net.sf.javabdd.BDDException
Given a set of state and a transitions, this procedure return all states which can be reached in a any number of steps from these states.
trans - The given transitions.from - The given set of state.
net.sf.javabdd.BDDException - If there was a problem with the BDD operation.allPred(BDD, BDD),
succ(BDD, BDD),
pred(BDD, BDD)
public static net.sf.javabdd.BDD prime(net.sf.javabdd.BDD unp_bdd)
throws net.sf.javabdd.BDDException
Given an unprimed BDD, returns the exact same BDD with the primed version of the variables.
unp_bdd - The unprimed BDD.
net.sf.javabdd.BDDException - When trying to prime BDD with primed fields.prime(BDD, ModuleBDDField[]),
unprime(BDD),
unprime(BDD, ModuleBDDField[])
public static net.sf.javabdd.BDD prime(net.sf.javabdd.BDD unp_bdd,
ModuleBDDField[] couples)
throws net.sf.javabdd.BDDException
Given a BDD, returns the exact same BDD with the primed version of the given fields array.
unp_bdd - The given BDD.couples - The fields to prime.
net.sf.javabdd.BDDException - When trying to prime already primed fields.prime(BDD),
unprime(BDD),
unprime(BDD, ModuleBDDField[])
public static net.sf.javabdd.BDD unprime(net.sf.javabdd.BDD p_bdd)
throws net.sf.javabdd.BDDException
Given a primed BDD, returns the exact same BDD with the unprimed version of the fields.
p_bdd - The primed BDD.
net.sf.javabdd.BDDException - When trying to unprime BDD with unprime fields.prime(BDD),
prime(BDD, ModuleBDDField[]),
unprime(BDD, ModuleBDDField[])
public static net.sf.javabdd.BDD unprime(net.sf.javabdd.BDD p_bdd,
ModuleBDDField[] couples)
throws net.sf.javabdd.BDDException
Given a BDD, returns the exact same BDD with the unprimed version of the given fields array.
p_bdd - The given BDD.couples - The fields to unprime.
net.sf.javabdd.BDDException - When trying to unprime already unprimed fields.prime(BDD),
prime(BDD, ModuleBDDField[]),
unprime(BDD)public static boolean containPrimeVars(net.sf.javabdd.BDD set)
Check whether the given BDD contains prime version of the fields.
set - The BDD to check.
public static boolean containUnprimeVars(net.sf.javabdd.BDD set)
Check whether the given BDD contains unprime version of the fields.
set - The BDD to check.
public static net.sf.javabdd.BDDVarSet getEmptySet()
The empty set of fields.
public static net.sf.javabdd.BDDVarSet intersect(net.sf.javabdd.BDDVarSet a,
net.sf.javabdd.BDDVarSet b)
public static boolean registerErrorListener(ErrorListener lis)
Register an error listener to be invoked on every error which is thrown in the JTLV environment.
lis - The new listener to add.
all_error_listeners,
removeErrorListener(ErrorListener),
clearErrorListener(),
activateErrorListeners(Exception, String),
doError(Exception, String),
ErrorListenerpublic static boolean removeErrorListener(ErrorListener lis)
Remove an error listener from the queue of listeners.
lis - The listener to be removed.
all_error_listeners,
registerErrorListener(ErrorListener),
clearErrorListener(),
activateErrorListeners(Exception, String),
doError(Exception, String),
ErrorListenerpublic static void clearErrorListener()
Clears the entire listeners queue.
all_error_listeners,
registerErrorListener(ErrorListener),
removeErrorListener(ErrorListener),
activateErrorListeners(Exception, String),
doError(Exception, String),
ErrorListener
public static void doError(java.lang.Exception e,
java.lang.String msg)
Invoke the listeners queue with the given exception. This is the exact
same procedure as
activateErrorListeners(Exception, String)
e - The exception to invoke the listeners with.msg - A text message describing the failure.all_error_listeners,
registerErrorListener(ErrorListener),
removeErrorListener(ErrorListener),
clearErrorListener(),
activateErrorListeners(Exception, String),
ErrorListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||