/** * Get the type of location from which this context was created. */ public int getOriginatingConstructType() { if (origin == null) { return -1; } if (origin instanceof InstructionInfoProvider) { return ((InstructionInfoProvider)origin).getInstructionInfo().getConstructType(); } else { return ((Integer)origin).intValue(); } }
/** * Get the type of location from which this context was created. */ public int getOriginatingConstructType() { if (origin == null) { return -1; } if (origin instanceof InstructionInfoProvider) { return ((InstructionInfoProvider)origin).getInstructionInfo().getConstructType(); } else { return ((Integer)origin).intValue(); } }
locmessage += "at " + instructionName + ' '; systemId = ((InstructionInfoProvider)loc).getInstructionInfo().getSystemId(); lineNumber = ((InstructionInfoProvider)loc).getInstructionInfo().getLineNumber();
InstructionInfo info = inst.getInstructionInfo(); int construct = info.getConstructType(); if (construct < 1024 &&
"\nand \"" + showPattern(pat2) + "\" on line " + pat2.getLineNumber() + " of " + pat2.getSystemId()); err.setErrorCode(errorCode); err.setLocator(c.getOrigin().getInstructionInfo()); c.getController().recoverableError(err);
"\nand \"" + showPattern(pat2) + "\" on line " + pat2.getLineNumber() + " of " + pat2.getSystemId()); err.setErrorCode(errorCode); err.setLocator(c.getOrigin().getInstructionInfo()); c.getController().recoverableError(err);