com.sap.portal.admin.wizard.exceptions

Class ObjectNotCreatedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sap.portal.admin.wizard.exceptions.ObjectNotCreatedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DescriptorNotCreatedException

Deprecated. Use Admin Studio Wizard Framework, as described in Creating Administration Interfaces (Web Dynpro) on the Help Portal documentation (help.sap.com).

public class ObjectNotCreatedException
extends Exception

The exception that indicates that the new object was not saved into the persistence layer. Prints out the error message and/or stack trace to the log and/or to the screen. Can also encapsulate a nested exception.

See Also:
Serialized Form

Constructor Summary
ObjectNotCreatedException(String msg)
          Deprecated. A constructor that sets the error message.
ObjectNotCreatedException(Throwable t, String msg)
          Deprecated. A constructor that sets the error message and an optional exception that was raised while creating the object.
 
Method Summary
 Throwable getCause()
          Deprecated. Gets the nested exception, if it exists.
 void printStackTrace()
          Deprecated.  
 void printStackTrace(PrintStream s)
          Deprecated.  
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectNotCreatedException

public ObjectNotCreatedException(String msg)
Deprecated. 
A constructor that sets the error message.

Parameters:
msg - an error message

ObjectNotCreatedException

public ObjectNotCreatedException(Throwable t,
                                 String msg)
Deprecated. 
A constructor that sets the error message and an optional exception that was raised while creating the object.

Parameters:
t - an exception raised while creating the descriptor
msg - the error message
Method Detail

getCause

public Throwable getCause()
Deprecated. 
Gets the nested exception, if it exists.

Overrides:
getCause in class Throwable
Returns:
the nested exception.

printStackTrace

public void printStackTrace()
Deprecated. 
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream s)
Deprecated. 
Overrides:
printStackTrace in class Throwable
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/admin/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice