org.objectweb.jorm.api
Class PExceptionProtocol

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.objectweb.jorm.api.PException
              extended byorg.objectweb.jorm.api.PExceptionProtocol
All Implemented Interfaces:
java.io.Serializable

public class PExceptionProtocol
extends PException

This exception is raised when a problem occured due to protocol inconsistency with respect to life-cycle management for example.

See Also:
Serialized Form

Constructor Summary
PExceptionProtocol(java.lang.Exception e, java.lang.String error)
           
PExceptionProtocol(java.lang.String error)
          It builds a new Jorm Exception related to the binding protocol.
 
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

PExceptionProtocol

public PExceptionProtocol(java.lang.String error)
It builds a new Jorm Exception related to the binding protocol.

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

PExceptionProtocol

public PExceptionProtocol(java.lang.Exception e,
                          java.lang.String error)