com.sapportals.portal.pcd.gl

Class PcdRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sapportals.portal.pcd.gl.PcdRuntimeException
All Implemented Interfaces:
Serializable

public class PcdRuntimeException
extends RuntimeException

Root class for runtime exceptions thrown by the PCD Generic Layer. This exception is thrown only in serious situations like database connection is broken or detection of a program error. Other situations like lookup of an object failed because the object is not there cause the throwing of an instance with the interface NamingException. Copyright (c) SAP Portals Europe GmbH 2001

See Also:
Serialized Form

Constructor Summary
PcdRuntimeException(String s)
          Constructor with a String message.
PcdRuntimeException(String s, Throwable exception)
          Exception wrapper constructor.
PcdRuntimeException(Throwable exception)
          Exception wrapper constructor.
 
Method Summary
 Throwable getException()
          Gets the original exception which can be null.
 String getExceptionClassName()
           
 void setException(Throwable t)
          Sets the original exception
 
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

PcdRuntimeException

public PcdRuntimeException(String s)
Constructor with a String message.

Parameters:
s - a short description of the exception.

PcdRuntimeException

public PcdRuntimeException(Throwable exception)
Exception wrapper constructor.

Parameters:
exception - a Throwable object referring to the original exception.

PcdRuntimeException

public PcdRuntimeException(String s,
                           Throwable exception)
Exception wrapper constructor.

Parameters:
s - a short String describing the exception
exception - a Throwable object referring to the original exception
Method Detail

getExceptionClassName

public String getExceptionClassName()

getException

public Throwable getException()
Gets the original exception which can be null.

Returns:
the original exception

setException

public final void setException(Throwable t)
Sets the original exception

Parameters:
t - the orginal exception
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS [sap.com] tc/epbc/pcd/pars/srvgldeprecated api BC-PIN-PCD
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api - EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api api EP-PIN
[sap.com] EP-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice