/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package hero.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();
}
}
|