00001 package de.fub.bytecode.generic;
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 public class INVOKESPECIAL extends InvokeInstruction {
00013
00014
00015
00016
00017 INVOKESPECIAL() {}
00018 public INVOKESPECIAL(int index) {
00019 super(INVOKESPECIAL, index);
00020 }
00021 public Class[] getExceptions() {
00022 Class[] cs = new Class[4 + EXCS_FIELD_AND_METHOD_RESOLUTION.length];
00023
00024 System.arraycopy(EXCS_FIELD_AND_METHOD_RESOLUTION, 0,
00025 cs, 0, EXCS_FIELD_AND_METHOD_RESOLUTION.length);
00026 cs[EXCS_FIELD_AND_METHOD_RESOLUTION.length-3] = UNSATISFIED_LINK_ERROR;
00027 cs[EXCS_FIELD_AND_METHOD_RESOLUTION.length-2] = ABSTRACT_METHOD_ERROR;
00028 cs[EXCS_FIELD_AND_METHOD_RESOLUTION.length-1] = INCOMPATIBLE_CLASS_CHANGE_ERROR;
00029 cs[EXCS_FIELD_AND_METHOD_RESOLUTION.length] = NULL_POINTER_EXCEPTION;
00030 return cs;
00031 }
00032 }