📄 serviceunavailableexception.java
字号:
/** JBoss, the OpenSource J2EE webOS** Distributable under LGPL license.* See terms of license at gnu.org.*/package test.interfaces;/** * Indicates a problem with a unavailable service. Because * this is not a Runtime or Remote Exception it will NOT * cause the transaction to roll back. * * @author Andreas Schaefer * @version $Revision: 1.1 $ **/public class ServiceUnavailableException extends Exception{ // ------------------------------------------------------------------------- // Static // ------------------------------------------------------------------------- // ------------------------------------------------------------------------- // Members // ------------------------------------------------------------------------- // ------------------------------------------------------------------------- // Constructor // ------------------------------------------------------------------------- /** * Constructor with a message of the exception * * @param pMessage Message to further explain the exception **/ public ServiceUnavailableException( String pMessage ) { super( pMessage ); } // ------------------------------------------------------------------------- // Methods // ------------------------------------------------------------------------- /** * Describes the instance and its content for debugging purpose * * @return Using the one from the super class **/ public String toString() { return super.toString(); } /** * Determines if the given instance is the same as this instance * based on its content. This means that it has to be of the same * class ( or subclass ) and it has to have the same content * * @return Returns the equals value from the super class **/ public boolean equals( Object pTest ) { return super.equals( pTest ); } /** * Returns the hashcode of this instance * * @return Hashcode of the super class **/ public int hashCode() { return super.hashCode(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -