com.holmos.reflect.error.HolmosReflectAssertError Maven / Gradle / Ivy
package com.holmos.reflect.error;
import junit.framework.AssertionFailedError;
/**
* @author 吴银龙([email protected])
* */
public class HolmosReflectAssertError extends AssertionFailedError{
private static final long serialVersionUID = 1L;
private Exception e;
public HolmosReflectAssertError () {
}
public HolmosReflectAssertError (String message) {
super (message);
dealExpection();
}
public HolmosReflectAssertError(String message,Exception e){
super(message);
this.e=e;
dealExpection();
}
private void dealExpection(){
if(this.e!=null)
this.e.printStackTrace();
}
}