pt.digitalis.dif.exception.security
Class IdentityManagerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by pt.digitalis.dif.exception.DIFException
              extended by pt.digitalis.dif.exception.security.IdentityManagerException
All Implemented Interfaces:
Serializable, IContextException

public class IdentityManagerException
extends DIFException

Identity manager related exception.

Author:
Rodrigo Gonçalves rgoncalves@digitalis.pt
See Also:
Serialized Form
Created on:
2008/04/15

Constructor Summary
IdentityManagerException(Exception exception)
          Constructs a new IdentityManagerException that wraps a Java Exception.
IdentityManagerException(String reason)
          Constructs a new IdentityManagerException from a reason.
IdentityManagerException(String reason, Exception exception)
          Constructs a new IdentityManagerException from a reason and a Java Exception.
 
Method Summary
 Boolean isReadOnlyException()
           
 void setReadOnlyException(boolean isReadOnlyException)
          Modifier for the 'isReadOnlyException' attribute.
 
Methods inherited from class pt.digitalis.dif.exception.DIFException
addToExceptionContext, getExceptionContext, getRenderedExceptionContext, setExceptionContext
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdentityManagerException

public IdentityManagerException(Exception exception)
Constructs a new IdentityManagerException that wraps a Java Exception.

Parameters:
exception - the exception to encapsulate.

IdentityManagerException

public IdentityManagerException(String reason)
Constructs a new IdentityManagerException from a reason.

Parameters:
reason - the exception reason.

IdentityManagerException

public IdentityManagerException(String reason,
                                Exception exception)
Constructs a new IdentityManagerException from a reason and a Java Exception.

Parameters:
reason - the exception reason.
exception - the exception to encapsulate.
Method Detail

isReadOnlyException

public Boolean isReadOnlyException()
Returns:
T if the current exception was thrown because the IIdentityManager is in readonly mode

setReadOnlyException

public void setReadOnlyException(boolean isReadOnlyException)
Modifier for the 'isReadOnlyException' attribute.

Parameters:
isReadOnlyException - the new isReadOnlyException value to set


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.