issrg.pba.management.manager
Class PMException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by issrg.utils.EmbeddedException
              extended by issrg.pba.PbaException
                  extended by issrg.pba.management.manager.PMException
All Implemented Interfaces:
java.io.Serializable

public class PMException
extends PbaException

Exception class for the PERMIS management.

This exception is a standard PbaException, in order that the standard methods can be used in the PERMIS agent and thrown through the Managed PERMIS engine.

This Exception should only be used on the manager side, however there are some method shared between the agent and manager side, so it extends PbaException, in order that the agent side can use this exception as a PbaException.

Version:
0.1.2008.01.18
Author:
mfb4@kent.ac.uk
See Also:
Serialized Form

Constructor Summary
PMException(java.lang.String message)
          constructor.
PMException(java.lang.String message, java.lang.Throwable ex)
          constructor.
 
Method Summary
 java.lang.String getCauseMessage()
          Get the cause message.
 java.lang.String getRecursiveMessage()
          Get all the messages as new line separated string.
 java.lang.String getTitle()
          Get a title.
 void setTitle(java.lang.String title)
          Set a title.
 
Methods inherited from class issrg.utils.EmbeddedException
getEmbedded, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PMException

public PMException(java.lang.String message)
constructor.

Parameters:
message - - the text description of the exception
Since:
0.1.2008.01.18

PMException

public PMException(java.lang.String message,
                   java.lang.Throwable ex)
constructor.

Parameters:
message - - the text description of the exception
ex - - the exception that caused this exception
Since:
0.1.2008.01.18
Method Detail

setTitle

public void setTitle(java.lang.String title)
Set a title. that can be used for displays.

Parameters:
title - - a title for the exception.
Since:
0.1.2008.01.30

getTitle

public java.lang.String getTitle()
Get a title. that can be used for displays.

Returns:
a title for the exception.
Since:
0.1.2008.01.30

getCauseMessage

public java.lang.String getCauseMessage()
Get the cause message.

Returns:
the cause message
Since:
0.1.2008.01.30

getRecursiveMessage

public java.lang.String getRecursiveMessage()
Get all the messages as new line separated string.

Returns:
the message and all the cause messages.
Since:
0.1.2008.01.30