mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 02:50:43 +00:00
Project renamed to Free Flash Decompiler.
Code moved to new dir. Version changed to 1.3
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2013 JPEXS
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.action;
|
||||
|
||||
import com.jpexs.decompiler.flash.action.treemodel.TreeItem;
|
||||
import java.util.List;
|
||||
import java.util.Stack;
|
||||
|
||||
/**
|
||||
* Raised when actual address has been referenced with an unknown jump
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class UnknownJumpException extends RuntimeException {
|
||||
|
||||
/**
|
||||
* Actual stack
|
||||
*/
|
||||
public Stack stack;
|
||||
/**
|
||||
* Actual address
|
||||
*/
|
||||
public long addr;
|
||||
/**
|
||||
* Output of the method before raising the exception
|
||||
*/
|
||||
public List<TreeItem> output;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param stack Actual stack
|
||||
* @param addr Actual address
|
||||
* @param output Output of the method before raising the exception
|
||||
*/
|
||||
public UnknownJumpException(Stack stack, long addr, List<TreeItem> output) {
|
||||
this.stack = stack;
|
||||
this.addr = addr;
|
||||
this.output = output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation of the object
|
||||
*
|
||||
* @return a string representation of the object.
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Unknown jump to " + addr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user