org.ourgrid.common.exception
Class CouldNotGenerateKeyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ourgrid.common.exception.OurgridException
              extended by org.ourgrid.common.exception.CouldNotGenerateKeyException
All Implemented Interfaces:
java.io.Serializable

public class CouldNotGenerateKeyException
extends OurgridException

This class represents a signal that some problem during the generation of a key has occurred.

See Also:
Serialized Form

Constructor Summary
CouldNotGenerateKeyException()
          Constructs a new Exception to signal that a problem with the key generation has occurred.
CouldNotGenerateKeyException(java.lang.String cause)
          Constructs a new Exception to signal that a problem with the key generation has occured.
CouldNotGenerateKeyException(java.lang.String cause, java.lang.Throwable detail)
          Cosntructs a new Exception to signal that a problem with the key generation has occured.
 
Method Summary
 java.lang.String getMessage()
          Returns the exception message.
 
Methods inherited from class org.ourgrid.common.exception.OurgridException
getStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CouldNotGenerateKeyException

public CouldNotGenerateKeyException()
Constructs a new Exception to signal that a problem with the key generation has occurred.


CouldNotGenerateKeyException

public CouldNotGenerateKeyException(java.lang.String cause,
                                    java.lang.Throwable detail)
Cosntructs a new Exception to signal that a problem with the key generation has occured.

Parameters:
cause - An string describing briefly the cause of the exception.
detail - The exception that is the origin of the problem.

CouldNotGenerateKeyException

public CouldNotGenerateKeyException(java.lang.String cause)
Constructs a new Exception to signal that a problem with the key generation has occured.

Parameters:
cause - An string describing briefly the cause of the exception.
Method Detail

getMessage

public java.lang.String getMessage()
Returns the exception message.

Overrides:
getMessage in class OurgridException
Returns:
The message