|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BRLoadingException | |
noope.core | Classes that are core to the NOOPE engine. |
noope.entities | Classes representing physical objects modelled by NOOPE. |
noope.input | Classes related to data input. |
noope.laws | Classes describing force laws modelled by NOOPE. |
noope.output | Classes related to data output. |
Uses of BRLoadingException in noope.core |
Constructors in noope.core that throw BRLoadingException | |
Physics(BlockReader brPhysics)
Construct a Physics object from the supplied BlockReader, and initialise the Laws and Entities lists. |
|
Physics(BlockReader brPhysics,
LawLoader lawL,
EntityLoader entL,
LawPropertyRecordLoader lawPRL)
Constructs a new Physics object, just as the other constructor, but you can specify the XXXXLoader objects to use. |
|
Entities(BlockReader br,
Physics phys)
Constructs the Entities object from the supplied BlockReader. |
|
Laws(BlockReader br,
Physics phys)
Constructs the Laws object from the supplied BlockReader. |
Uses of BRLoadingException in noope.entities |
Constructors in noope.entities that throw BRLoadingException | |
Entity(BlockReader br,
Physics phys)
Construcst an Entity from the supplied BlockReader. |
Uses of BRLoadingException in noope.input |
Subclasses of BRLoadingException in noope.input | |
class |
BlockReaderException
An exception of this class (or one of its subclasses) is thrown by the BlockReader or any of its subclasses |
class |
BREntryNotFoundException
This exception is raised when an object constructing itself from a BlockReader object does not find an entry it needs. |
class |
BRFileIOException
A BlockReader throws this exception when a file I/O error occurs. |
class |
BRLoadingParseException
This exception is thrown by an object loading itself from a BlockReader if it fails to parse some text, it expects to be in a defined format. |
class |
StringBlockReaderException
StringBlockReader throws this sort of exceptions. |
Methods in noope.input that throw BRLoadingException | |
void |
BlockReader.assertEmpty()
Throws exception unless BlockReader is empty. |
abstract LawPropertyRecord |
LawPropertyRecordLoader.createLawPropertyRecord(java.lang.String className,
BlockReaderLocation brL,
BlockReader br,
Entity ent)
This method should create a new LawPropertyRecord object. |
LawPropertyRecord |
HardCodedLawPropertyRecordLoader.createLawPropertyRecord(java.lang.String className,
BlockReaderLocation brL,
BlockReader br,
Entity ent)
Creates a new instance of the given class. |
abstract Entity |
EntityLoader.createEntity(java.lang.String className,
BlockReaderLocation brL,
BlockReader br,
Physics phys)
This method should create a new Entity object. |
Entity |
HardCodedEntityLoader.createEntity(java.lang.String className,
BlockReaderLocation brL,
BlockReader br,
Physics phys)
Creates a new Entity object. |
abstract Law |
LawLoader.createLaw(java.lang.String className,
BlockReaderLocation brL,
BlockReader br,
int lawnumber,
Physics phys)
This method should create a new Law object. |
Law |
HardCodedLawLoader.createLaw(java.lang.String className,
BlockReaderLocation brL,
BlockReader br,
int lawnumber,
Physics phys)
Returns a new Law object. |
static java.lang.Class |
BRClassLoaderUtils.getClassWithExactName(BlockReaderLocation brL,
java.lang.String className)
Gets the class with the given name. |
static java.lang.Class |
BRClassLoaderUtils.getClassWithName(BlockReaderLocation brL,
java.lang.String className,
java.lang.String defaultPackage)
Tries to get the class with the given name. |
static void |
BRClassLoaderUtils.assertSubClass(BlockReaderLocation brL,
java.lang.Class parent,
java.lang.Class child)
This method asserts that the Class child is a subclass of the Class parent If it isn't, a BRLoadingException is thrown. |
static java.lang.reflect.Constructor |
BRClassLoaderUtils.getConstructor(BlockReaderLocation brL,
java.lang.Class theClass,
java.lang.Class[] paramsClasses)
Gets the constructor of theClass matching the parameter format paramsClasses. |
static java.lang.Object |
BRClassLoaderUtils.getNewInstance(BlockReaderLocation brL,
java.lang.Class theClass,
java.lang.reflect.Constructor theConstructor,
java.lang.Object[] params)
Creates a new instance constructed with theConstructor, with params as the arguments. |
LawPropertyRecord |
DynamicLawPropertyRecordLoader.createLawPropertyRecord(java.lang.String className,
BlockReaderLocation brL,
BlockReader br,
Entity ent)
This method dynamically loads the class with the given name. |
Entity |
DynamicEntityLoader.createEntity(java.lang.String className,
BlockReaderLocation brL,
BlockReader br,
Physics phys)
Dynamically loads the Entity class with the given name and creates an instance of it. |
Law |
DynamicLawLoader.createLaw(java.lang.String className,
BlockReaderLocation brL,
BlockReader br,
int lawnumber,
Physics phys)
Tries to create a new instance of the law class with the given name. |
Constructors in noope.input that throw BRLoadingException | |
DynamicEntityLoader(java.lang.String aDefaultPackage)
Constructs a new DynamicEntityLoader that first tries to load an Entity class with exactly the name provided, and, if that fails, tries to look in the package specified. |
|
DynamicLawLoader(java.lang.String aDefaultPackage)
Constructs a new DynamicLawLoader class that tries to load classes first with the exact name given and then, if that fails, in the package specified. |
Uses of BRLoadingException in noope.laws |
Methods in noope.laws that throw BRLoadingException | |
LawPropertyRecord |
Law.constructNewPropertyRecord(BlockReader br,
Entity ent)
Create a new LawPropertyRecord from the BlockReader object. |
LawPropertyRecord |
Gravity.constructNewPropertyRecord(BlockReader br,
Entity ent)
Returns a new GravityPropertyRecord, calling its constructor with (br, ent). |
LawPropertyRecord |
SphereCollision.constructNewPropertyRecord(BlockReader br,
Entity e)
Returns a new SphereCollisionPropertyRecord. |
Constructors in noope.laws that throw BRLoadingException | |
Law(BlockReader br,
int lawnumber,
Physics phys)
Constructs a new Law object from the supplied BlockReader, with lawnumber as its number. |
|
ParticlePairLaw(BlockReader br,
int lawnumber,
Physics phys)
Just calls the inherited constructor. |
|
Gravity(BlockReader br,
int lawnumber,
Physics phys)
Construct a Gravity Law from the supplied BlockReader, with the supplied lawnumber. |
|
SphereCollisionPropertyRecord(BlockReader br,
Entity ent)
Constructs a new SphereCollisionPropertyRecord from the given BlockReader. |
|
GravityPropertyRecord(BlockReader br,
Entity ent)
Construct the GravityPropertyRecord from the supplied BlockReader, for the supplied Entity. |
|
SphereCollision(BlockReader br,
int lawnumber,
Physics phys)
Initializes a new SphereCollision law object from the given BlockReader with the given lawnumber. |
Uses of BRLoadingException in noope.output |
Methods in noope.output that throw BRLoadingException | |
protected static java.awt.Color |
OutputProjectionColoredPropertyRecord.lookupColor(java.lang.String s,
BlockReader br)
Tries to look up the color named in s. |
LawPropertyRecord |
OutputProjection.constructNewPropertyRecord(BlockReader br,
Entity ent)
Constructs a new OutputProjectionPropertyRecord object. |
Constructors in noope.output that throw BRLoadingException | |
OutputProjectionPropertyRecord(BlockReader br,
Entity ent)
Constructs a new OutputProjectionPropertyRecord object from the BlockReader br and for the Entity ent. |
|
OutputProjectionColoredPropertyRecord(BlockReader br,
Entity ent)
Constructs a new OutputProjectionPropertyRecord object from the BlockReader br and for the Entity ent. |
|
OutputProjection(BlockReader br,
int lawnumber,
Physics phys)
Constructs a new OutputProjection object from the given BlockReader with the given lawnumber. |
|
OutputProjectionPointPropertyRecord(BlockReader br,
Entity ent)
Constructs a new OutputProjectionPointPropertyRecord object from the BlockReader br and for the Entity ent. |
|
OutputProjectionShapePropertyRecord(BlockReader br,
Entity ent)
Constructs a new OutputProjectionShapePropertyRecord object from the BlockReader br, for the Enitity ent. |
|
OutputProjectionCirclePropertyRecord(BlockReader br,
Entity ent)
Calls the inherited constructor and then reads the double "radius" from br. |
|
OutputText(BlockReader br,
int lawnumber,
Physics phys)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |