1 package com.tapina.robe.runtime;
2
3 /***
4 * Created by IntelliJ IDEA.
5 * User: gareth
6 * Date: Aug 26, 2003
7 * Time: 6:02:29 PM
8 */
9 public final class UndefinedInstructionException extends DecoderException {
10 private final int instruction;
11
12 public UndefinedInstructionException(int instruction) {
13 this.instruction = instruction;
14 }
15
16 public final String getMessage() {
17 return "Undefined Instruction &" + Integer.toHexString(instruction) +
18 " at &" + Integer.toHexString(address);
19 }
20 }