|
SAP NetWeaver 7.40 Enterprise Portal (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sap.portal.pcm.admin.ValidationException
public class ValidationException
The class that represents an error that occurs when trying to check the consistency of an object before saving it to the persistency.
| Field Summary | |
|---|---|
protected static String |
NEWLINE
For internal use. |
| Constructor Summary | |
|---|---|
ValidationException(String s)
Constructs a ValidationException with a string message. |
|
ValidationException(String s,
Throwable exception)
Constructs a ValidationException that wraps an exception. |
|
| Method Summary | |
|---|---|
Throwable |
getException()
Gets the original exception. |
String |
getMessage()
Gets the message and the message of the original exception (if set). |
String |
getMessage(Locale locale)
Gets the message and the message of the original exception (if set). |
void |
printStackTrace()
Prints the stack trace of this exception and the nested exception (if set) to System.err. |
void |
printStackTrace(PrintStream out)
Prints the stack trace of this exception and the nested exception (if set) to the specified PrintStream. |
void |
printStackTrace(PrintWriter out)
Prints the stack trace of this exception and the nested exception (if set) to the specified PrintWriter. |
void |
setException(Throwable t)
Sets the original exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final String NEWLINE
| Constructor Detail |
|---|
public ValidationException(String s)
ValidationException with a string message.
s - a description of the exception
public ValidationException(String s,
Throwable exception)
ValidationException that wraps an exception.
s - a description of the exceptionexception - a Throwable object referring to the original exception| Method Detail |
|---|
public Throwable getException()
public void setException(Throwable t)
t - the original exceptionpublic void printStackTrace(PrintStream out)
PrintStream.
printStackTrace in class Throwableout - the PrintStream to which the stack trace is writtenpublic void printStackTrace(PrintWriter out)
PrintWriter.
printStackTrace in class Throwableout - the PrintWriter to which the stack trace is writtenpublic void printStackTrace()
System.err.
printStackTrace in class Throwablepublic String getMessage()
getMessage in class Throwablepublic String getMessage(Locale locale)
locale - not used
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[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
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcm/admin/public/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.40 Enterprise Portal (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||