org.objectweb.jorm.naming.api
Class PExceptionNaming

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.objectweb.jorm.api.PException
                    |
                    +--org.objectweb.jorm.naming.api.PExceptionNaming
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PExceptionExisting

public class PExceptionNaming
extends PException

This exception is raised when a problem occured during name management.

See Also:
Serialized Form

Constructor Summary
PExceptionNaming(java.lang.Exception e, java.lang.String error)
          It builds a new Jorm Exception related to naming problems.
PExceptionNaming(java.lang.String error)
          It builds a new Jorm Exception related to naming problems.
 
Methods inherited from class org.objectweb.jorm.api.PException
getNestedException, print
 
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

PExceptionNaming

public PExceptionNaming(java.lang.String error)
It builds a new Jorm Exception related to naming problems.

Parameters:
error - The string representation of the error message.

PExceptionNaming

public PExceptionNaming(java.lang.Exception e,
                        java.lang.String error)
It builds a new Jorm Exception related to naming problems.

Parameters:
e - The nested exception.
error - The string representation of the error message.