# Uses of Class
org.jmol.script.ScriptException

Packages that use ScriptException
Package
Description
org.jmol.adapter.readers.pdb
org.jmol.api
org.jmol.script
org.jmol.scriptext

## Uses of ScriptException in org.jmol.adapter.readers.pdb

Methods in org.jmol.adapter.readers.pdb that throw ScriptException
Modifier and Type
Method
Description
`Object[]`
JmolDataReader.`getJmolDataFrameProperties(ScriptEval e, int tok, int[] propToks, String[] props, BS bs, P3 minXYZ, P3 maxXYZ, String format, boolean isPdbFormat)`

## Uses of ScriptException in org.jmol.api

Methods in org.jmol.api that throw ScriptException
Modifier and Type
Method
Description
`void`
JmolScriptEvaluator.`runScript(String script)`
`void`
JmolScriptEvaluator.`runScriptBuffer(String string, SB outputBuffer, boolean isFuncReturn)`

## Uses of ScriptException in org.jmol.script

Subclasses of ScriptException in org.jmol.script
Modifier and Type
Class
Description
`class`
`ScriptInterruption`
Methods in org.jmol.script with parameters of type ScriptException
Modifier and Type
Method
Description
`void`
ScriptEval.`setException(ScriptException sx, String msg, String untranslated)`
Methods in org.jmol.script that throw ScriptException
Modifier and Type
Method
Description
`boolean`
ScriptMathProcessor.`addOp(T op)`
addOp The primary driver of the Reverse Polish Notation evaluation engine.
`boolean`
ScriptMathProcessor.`addXNum(T x)`
`P3`
ScriptParam.`atomCenterOrCoordinateParameter(int i, Object[] ret)`
`void`
ScriptError.`bad()`
`boolean`
ScriptMathProcessor.`binaryOp(T op, SV x1, SV x2)`
`P3`
ScriptParam.`centerParameter(int i, Object[] ret)`
`protected P3`
ScriptParam.`centerParameterForModel(int i, int modelIndex, Object[] ret)`
`String`
ScriptEval.`checkFileExists(String prefix, boolean isAsync, String filename, int i, boolean doClear)`
`T3`
ScriptParam.`checkHKL(T3 pt)`
Note - this check does not allow a 0 for h, k, or l.
`int`
ScriptParam.`checkLast(int i)`
`int`
ScriptParam.`checkLength(int length)`
`int`
ScriptParam.`checkLength23()`
`protected int`
ScriptParam.`checkLength34()`
`int`
ScriptParam.`checkLengthErrorPt(int length, int errorPt)`
`void`
ScriptEval.`cmdLoad()`
`void`
ScriptEval.`cmdRotate(boolean isSpin, boolean isSelected)`
`void`
ScriptEval.`cmdScript(int tok, String filename, String theScript, Lst<SV> params)`
`void`
ScriptEval.`cmdUndoRedo(int tok)`
`boolean`
ScriptEval.`dispatchCommands(boolean isSpt, boolean fromFunc, boolean isTry)`
`RadiusData`
ScriptEval.`encodeRadiusParameter(int index, boolean isOnly, boolean allowAbsolute)`
`void`
ScriptError.`error(int iError)`
`void`
ScriptError.`errorStr(int iError, String value)`
`void`
ScriptError.`errorStr2(int iError, String value, String more)`
`void`
ScriptError.`evalError(String message, String strUntranslated)`
`Object`
ScriptEval.`expandFloatArray(float[] a, int min, boolean asBS)`
Accepts a float array and expands [1 -3] to [1 2 3], for example.
`float`
ScriptParam.`floatParameter(int index)`
`protected float`
ScriptParam.`floatParameterRange(int i, float min, float max)`
`float[]`
ScriptParam.`floatParameterSet(int i, int nMin, int nMax)`
process a general string or set of parameters as an array of floats, allowing for relatively free form input
`int`
ScriptParam.`getArgbParam(int index)`
`protected int`
ScriptParam.`getArgbParamLast(int index, boolean allowNone)`
`int`
ScriptParam.`getArgbParamOrNone(int index, boolean allowNone)`
`BS`
ScriptParam.`getAtomsStartingAt(int i)`
`String`
ScriptEval.`getColorRange(int i)`
`T3`
ScriptParam.`getFractionalPoint(int i)`
Could return a P4 for large 1100100100 type indicators
`String`
ScriptEval.`getFullPathName(boolean withType)`
`int`
ScriptParam.`getMadParameter()`
`protected M34`
ScriptParam.`getMatrixParam(int i, int dim, boolean throwError)`
`void`
ScriptEval.`getPartialCharges(BS bs)`
`P3`
ScriptParam.`getPoint3f(int i, boolean allowFractional, boolean throwE)`
Get an {x,y,z} value, possibly fractional, with option to throw an error.
`P4`
ScriptParam.`getPoint4f(int i)`
`P4`
ScriptParam.`getPoint4fNoError(int i)`
`P3[]`
ScriptParam.`getPointArray(int i, int nPoints, boolean allowNull, boolean throwException)`
may return null values in some cases
`Lst<P3>`
ScriptParam.`getPointOrCenterVector(T t)`
`T3`
ScriptParam.`getPointOrPlane(int index, int mode)`
Get the point or plane at an index
`Lst<P3>`
ScriptParam.`getPointVector(T t, int i)`
`Quat`
ScriptParam.`getQuaternionParameter(int i, BS bsAtoms, boolean divideByCurrent)`
`int`
ScriptEval.`getSetAxesTypeMad10(int index)`
`T`
ScriptParam.`getToken(int i)`
`float`
ScriptEval.`getTranslucentLevel(int i)`
`SV`
ScriptEval.`getUserFunctionResult(String name, Lst<SV> params, SV tokenAtom)`
`SV`
ScriptMathProcessor.`getX()`
`P4`
ScriptParam.`hklParameter(int i, Lst<P3> pts, boolean allowOffset)`
`void`
ScriptError.`integerOutOfRange(int min, int max)`
`int`
ScriptParam.`intParameter(int index)`
`int`
ScriptParam.`intParameterRange(int i, int min, int max)`
`void`
ScriptError.`invArg()`
`void`
ScriptError.`invArgStr(String msg)`
`Lst<Object>`
ScriptParam.`listParameter(int i, int nMin, int nMax)`
`Lst<Object>`
ScriptParam.`listParameter4(int i, int nMin, int nMax, boolean allowString)`
`String`
ScriptEval.`loadFileAsync(String prefix, String filename, int i, boolean doClear)`
Allows asynchronous file loading from the LOAD or SCRIPT command.
`void`
ScriptEval.`loadFileResourceAsync(String fileName)`
load a static file asynchronously
`BS`
ScriptEval.`lookupIdentifierValue(String identifier)`
`int`
ScriptParam.`modelNumberParameter(int index)`
`protected void`
ScriptError.`numberOutOfRange(float min, float max)`
`String`
ScriptParam.`objectNameParameter(int index)`
`String`
ScriptParam.`optParameterAsString(int i)`
`String`
ScriptParam.`paramAsStr(int i)`
`P4`
ScriptParam.`planeParameter(int i, boolean isBest)`
`boolean`
ScriptMathProcessor.`propOp(T op, SV x2)`
`P3`
ScriptMathProcessor.`ptValue(SV x, BS bsRestrict)`
`void`
ScriptEval.`refresh(boolean doDelay)`
Refresh the display NOW
`void`
ScriptEval.`runScript(String script)`
`void`
ScriptEval.`runScriptBuffer(String script, SB outputBuffer, boolean isFuncReturn)`
runs a script immediately and sends selected output to a provided SB
`boolean`
ScriptEval.`setMeshDisplayProperty(int shape, int i, int tok)`
`String`
ScriptEval.`setObjectProperty()`
`String`
ScriptEval.`setShapeNameParameter(int i)`
`String`
ScriptParam.`stringParameter(int index)`
`String[]`
ScriptParam.`stringParameterSet(int i)`
`TickInfo`
ScriptParam.`tickParamAsStr(int index, boolean allowUnitCell, boolean allowScale, boolean allowFirst)`
`protected void`
ScriptError.`warning(int iError, String value, String more)`
`P3`
ScriptParam.`xypParameter(int index)`
`P4`
ScriptParam.`xyzpParameter(int index)`

## Uses of ScriptException in org.jmol.scriptext

Methods in org.jmol.scriptext that throw ScriptException
Modifier and Type
Method
Description
`protected BS`
ScriptExt.`atomExpressionAt(int i)`
`protected P3`
ScriptExt.`centerParameter(int i)`
`protected void`
ScriptExt.`checkLength(int i)`
`String`
CmdExt.`dispatch(int iTok, boolean flag, T[] st)`
The command dispatcher for the set of commands extended by this class.
`String`
IsoExt.`dispatch(int iTok, boolean b, T[] st)`
`abstract String`
ScriptExt.`dispatch(int iTok, boolean b, T[] st)`
`protected void`
ScriptExt.`error(int err)`
`boolean`
MathExt.`evaluate(ScriptMathProcessor mp, T op, SV[] args, int tok)`
`protected void`
ScriptExt.`finalizeObject(int shapeID, int colorArgb, float translucentLevel, int intScale, boolean doSet, Object data, int iptDisplayProperty, BS bs)`
`protected float`
ScriptExt.`floatParameter(int i)`
`protected P3[]`
ScriptExt.`getAllPoints(int index, int nmin)`
`protected float`
ScriptExt.`getColorTrans(ScriptEval eval, int i, boolean allowNone, int[] ret)`
Checks color, translucent, opaque parameters.
`float[]`
SmilesExt.`getFlexFitList(BS bs1, BS bs2, String smiles1, boolean isSmarts)`
`protected int[][]`
ScriptExt.`getIntArray2(int i)`
`int`
CmdExt.`getLoadSymmetryParams(int i, SB sOptions, Map<String,Object> htParams)`
`protected P3`
ScriptExt.`getPoint3f(int i, boolean allowFractional)`
`float`
SmilesExt.`getSmilesCorrelation(BS bsA, BS bsB, String smiles, Lst<P3> ptsA, Lst<P3> ptsB, M4 m4, Lst<BS> vReturn, boolean asMap, int[][] mapSet, P3 center, boolean bestMap, int flags)`
The major interface to org.jmol.smiles, this method allows for a wide variety of correlation functionality.
`Object`
SmilesExt.`getSmilesMatches(Object patternObj, Object smilesObj, BS bsSelected, BS bsMatch3D, int flags, boolean asOneBitset, boolean firstMatchOnly)`
`protected T`
ScriptExt.`getToken(int i)`
`protected int`
ScriptExt.`intParameter(int index)`
`protected void`
ScriptExt.`invArg()`
`protected void`
ScriptExt.`invPO()`
`float`
SmilesExt.`mapPolyhedra(int i1, int i2, boolean isSmiles, M4 m)`
`protected String`
ScriptExt.`paramAsStr(int i)`
`protected String`
ScriptExt.`setShapeId(int iShape, int i, boolean idSeen)`
`protected String`
ScriptExt.`stringParameter(int index)`