org.objectweb.jorm.naming.api
Class PExceptionNaming

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.objectweb.jorm.api.PException
              extended byorg.objectweb.jorm.naming.api.PExceptionNaming
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PExceptionExistingName, PExceptionNameCoding

public class PExceptionNaming
extends PException

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

Author:
P. Dechamboux
See Also:
Serialized Form

Constructor Summary
PExceptionNaming(java.lang.Exception nestedException)
           
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.

PExceptionNaming

public PExceptionNaming(java.lang.Exception nestedException)