📄 nsieventexception.java.svn-base
字号:
package com.nsi.control.exceptions;
/**
* @author Chris Ye, created on Sep 29, 2008
*
* NsiEventException
*/
public class NsiEventException extends Exception
{
private static final long serialVersionUID = 5441123894848788052L;
private Throwable trex;
/**
* constructor of NsiEventException
*/
public NsiEventException()
{
super();
}
/**
* constructor of NsiEventException
*/
public NsiEventException(String str)
{
super(str);
}
/**
* constructor of NsiEventException
* @param str
* @param trex
*/
public NsiEventException(String str,Throwable trex)
{
super(str);
this.trex=trex;
}
public String toString()
{
if( trex != null )
{
StringBuffer sb = new StringBuffer();
sb.append( super.toString() ).append( " , " ).append( trex.toString() );
return sb.toString();
}
else
{
return super.toString();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -