com.sap.portal.admin.wizard.exceptions
Class ObjectNotCreatedException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sap.portal.admin.wizard.exceptions.ObjectNotCreatedException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DescriptorNotCreatedException
- public class ObjectNotCreatedException
- extends java.lang.Exception
ObjectNotCreatedException implies that the new object was not
created/saved into the persistence, and prints the error message and/or stackTrace to
log and/or to screen.
Can also encapsulate a nested exception.
- See Also:
- Serialized Form
|
Constructor Summary |
ObjectNotCreatedException(java.lang.String msg)
Constructor @param msg output message |
ObjectNotCreatedException(java.lang.Throwable t,
java.lang.String msg)
Constructor @param t nested exception
Constructor @param msg output message |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectNotCreatedException
public ObjectNotCreatedException(java.lang.String msg)
- Constructor @param msg output message
ObjectNotCreatedException
public ObjectNotCreatedException(java.lang.Throwable t,
java.lang.String msg)
- Constructor @param t nested exception
Constructor @param msg output message
getCause
public java.lang.Throwable getCause()
- Gets the nested exception (if exists).
- Returns:
- Causing exception.
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTrace in class java.lang.Throwable