fr.paris.lutece.plugins.jcr.util
Class JcrException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by fr.paris.lutece.plugins.jcr.util.JcrException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JcrExistingRepositoryException, JcrExistingViews, JcrIOException, JcrNodeLockedException, JcrPathNotFoundException, JcrRepositoryException, JcrUserAccessDeniedException

public abstract class JcrException
extends RuntimeException

Customized exceptions for managing JSR170 exceptions Error codes are :

See Also:
Serialized Form

Constructor Summary
protected JcrException()
           
  JcrException(Object o)
           
  JcrException(javax.jcr.RepositoryException e)
           
 
Method Summary
 String getLocalizedMessage()
           
 Object getObjectCause()
           
 void setNode(javax.jcr.Node node)
           
 void setObjectCause(Object o)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

JcrException

protected JcrException()

JcrException

public JcrException(javax.jcr.RepositoryException e)
Parameters:
e - the RepositoryException
nCode - the code

JcrException

public JcrException(Object o)
Parameters:
e - the RepositoryException
nCode - the code
Method Detail

setNode

public void setNode(javax.jcr.Node node)

setObjectCause

public void setObjectCause(Object o)

getObjectCause

public Object getObjectCause()

getLocalizedMessage

public String getLocalizedMessage()
Overrides:
getLocalizedMessage in class Throwable


Copyright © 2014 Mairie de Paris. All Rights Reserved.