Some thinking about exceptions

This commit is contained in:
Adam
2015-02-01 21:15:14 -05:00
parent 763d82379e
commit 027dc6eff9
7 changed files with 96 additions and 5 deletions

View File

@@ -1,9 +1,11 @@
package info.sigterm.deob.attributes.code;
import info.sigterm.deob.ConstantPool;
import java.io.DataInputStream;
import java.io.IOException;
class Exception
public class Exception
{
private Exceptions exceptions;
@@ -23,4 +25,24 @@ class Exception
handlerPc = is.readUnsignedShort();
catchType = is.readUnsignedShort();
}
public Exceptions getExceptions()
{
return exceptions;
}
public int getStartPc()
{
return startPc;
}
public int getEndPc()
{
return endPc;
}
public int getHandlerPc()
{
return handlerPc;
}
}