📄 userexception.java
字号:
/*
* @author : Neelesh
* @Version : 1.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the Application : UserException.java
* Creation/Modification History :
*
* Neelesh 17-Feb-2003 Created
*
*/
package oracle.otnsamples.vsm;
import oracle.otnsamples.vsm.services.ServiceException;
/**
* Exception thrown by JAASManager implementations, if there was an error
* adding/deleting a user to/from JAAS repository
* @author Neelesh
* @version 1.0
*/
public class UserException extends ServiceException{
/**
* Default Constructor. Takes no arguments
*/
public UserException() {
}
/**
* Constructor
* @param <b> message </b> The detailed exception message.
*/
public UserException( String message ) {
super( message );
}
public UserException( String message,String messageCode ) {
super( message,messageCode );
}
/**
* Constructor
* @param <b>message</b> The detailed exception message.
* @param <b>thr</b> The Throwable class.
* @since 2.0
*/
public UserException ( final String message, final Throwable thr ) {
super( message );
cause = thr ;
}
/**
* Constructor
* @param <b>thr</b> The Throwable class.
* @since 2.0
*/
public UserException( final Throwable thr ) {
super( ( thr == null )? null : thr.getMessage() );
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -