Some thinking about exceptions
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user