|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.conn.jco.ext.DataProviderException
public class DataProviderException
A DataProviderException can be thrown by a DestinationDataProvider or ServerDataProvider
in order to signal severe issues in an existing configuration or some other internal error, like
a wrong setup.
| Nested Class Summary | |
|---|---|
static class |
DataProviderException.Reason
An enumeration for describing the reason of a DataProviderException. |
| Constructor Summary | |
|---|---|
DataProviderException(DataProviderException.Reason reason,
java.lang.String message,
java.lang.Throwable causedBy)
Creates a new instance of a DataProviderException with the given reason, message and potentially a cause exception. |
|
DataProviderException(DataProviderException.Reason reason,
java.lang.Throwable causedBy)
Creates a new instance of a DataProviderException with the given reason, and potentially a cause exception. |
|
| Method Summary | |
|---|---|
DataProviderException.Reason |
getReason()
Returns the reason associated with that exception. |
java.lang.String |
toString()
Returns an adopted string representation for the DataProviderException instance. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataProviderException(DataProviderException.Reason reason,
java.lang.String message,
java.lang.Throwable causedBy)
reason - reason for exceptionmessage - exception messagecausedBy - causing exception, may be null
public DataProviderException(DataProviderException.Reason reason,
java.lang.Throwable causedBy)
reason - reason for exceptioncausedBy - causing exception, may be null| Method Detail |
|---|
public DataProviderException.Reason getReason()
public java.lang.String toString()
toString in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||