mirror of
https://github.com/pxb1988/dex2jar.git
synced 2024-11-23 05:10:11 +00:00
Add serialVersionUIDs
# Conflicts: # dex-reader/src/main/java/com/googlecode/d2j/reader/DexFileReader.java
This commit is contained in:
parent
d66af7dc8e
commit
7fafa42fa6
@ -106,6 +106,8 @@ public abstract class BaseCmd {
|
||||
@SuppressWarnings("serial")
|
||||
protected static class HelpException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 5538069795297477488L;
|
||||
|
||||
public HelpException() {
|
||||
super();
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ public class TransformerException extends RuntimeException {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = -5074963043184589213L;
|
||||
|
||||
public TransformerException() {
|
||||
super();
|
||||
|
@ -150,7 +150,7 @@ public class AggTransformer extends StatedTransformer {
|
||||
}
|
||||
|
||||
static class MergeResult extends Throwable {
|
||||
|
||||
private static final long serialVersionUID = -1563502983848655360L;
|
||||
}
|
||||
|
||||
static class ReplaceX implements Cfg.TravelCallBack {
|
||||
|
@ -33,6 +33,7 @@ import com.googlecode.dex2jar.ir.stmt.Stmts;
|
||||
*/
|
||||
public class NpeTransformer extends StatedTransformer {
|
||||
private static class MustThrowException extends RuntimeException {
|
||||
private static final long serialVersionUID = 7501197864919305696L;
|
||||
}
|
||||
|
||||
private static final MustThrowException NPE = new MustThrowException();
|
||||
|
@ -6,6 +6,9 @@ import java.util.LinkedList;
|
||||
import java.util.Set;
|
||||
|
||||
public class UniqueQueue<T> extends LinkedList<T> {
|
||||
|
||||
private static final long serialVersionUID = 7578371020752763662L;
|
||||
|
||||
Set<T> set = new HashSet<>();
|
||||
|
||||
public UniqueQueue() {
|
||||
|
@ -25,7 +25,7 @@ public class DexException extends RuntimeException {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 6294916997539922829L;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -1109,9 +1109,12 @@ public class DexFileReader implements BaseDexFileReader {
|
||||
return class_defs_size;
|
||||
}
|
||||
|
||||
static class BadOpException extends RuntimeException{
|
||||
public BadOpException(String fmt,Object ...args){
|
||||
super(String.format(fmt,args));
|
||||
static class BadOpException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 5354839427958139635L;
|
||||
|
||||
public BadOpException(String fmt, Object... args) {
|
||||
super(String.format(fmt, args));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,8 @@ package com.googlecode.d2j.dex.writer;
|
||||
import com.googlecode.d2j.reader.Op;
|
||||
|
||||
public class CantNotFixContentException extends RuntimeException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private static final long serialVersionUID = -3939621228619424486L;
|
||||
|
||||
public CantNotFixContentException(Op op, String contentName, int v) {
|
||||
super(String.format("content is not fit for op: %s, %s, value:0x%x",
|
||||
|
@ -18,7 +18,7 @@ package com.googlecode.d2j.dex.writer;
|
||||
|
||||
public class DexWriteException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 8501861997187282533L;
|
||||
|
||||
public DexWriteException() {
|
||||
super();
|
||||
|
Loading…
Reference in New Issue
Block a user