|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.crystaldecisions.sdk.exception.SDKRuntimeException
This class defines runtime exceptions that the SDK may throw.
| Nested Class Summary | |
static class |
SDKRuntimeException.ContradictingValues
This exception is thrown when two values in the InfoObject have contradicting values. |
static class |
SDKRuntimeException.DeprecatedMethodAccessed
This exception is thrown when a deprecated method is accessed. |
static class |
SDKRuntimeException.InvalidOperation
This exception is thrown when an invalid operation is encountered. |
static class |
SDKRuntimeException.ObjectNotFound
This exception is thrown when an unknown object ID is encountered. |
static class |
SDKRuntimeException.OutOfRange
This exception is thrown when an input value is out of the expected range |
static class |
SDKRuntimeException.PropertyNotFound
This exception is thrown when an unknown property ID is encountered. |
static class |
SDKRuntimeException.SetInherited
This exception is thrown when an exception is encountered that results from the SetInherited class.
|
static class |
SDKRuntimeException.UndefinedValue
This exception is thrown when an unexpected value is encountered. |
static class |
SDKRuntimeException.Unexpected
This exception describes an unexpected runtime problem. |
static class |
SDKRuntimeException.UnexpectedCause
This exception describes an unexpected runtime problem that is caused by some other exception. |
static class |
SDKRuntimeException.UnexpectedValue
This exception is thrown when an unexpected value is encountered. |
| Method Summary | |
static void |
checkPositive(java.lang.Integer propId,
int value)
Determines whether the unexpected value is positive. |
static void |
checkRange(java.lang.Integer propId,
double value,
double lowerbound,
double upperbound)
Determines whether the value is out of range. |
static void |
checkRange(java.lang.Integer propId,
int value,
int lowerbound,
int upperbound)
Determines whether the value is out of range. |
java.lang.Throwable |
getCause()
Returns a Throwable excpetion object that caused the current exception.
|
java.lang.String |
getDetail()
Gets the detailed error message used for diagnosis. |
java.lang.String |
getMessage()
Returns the error message of this throwable object. |
java.lang.String |
getMessage(java.util.Locale locale)
Returns the localized error message of this throwable object. |
java.lang.String[] |
getParams()
Returns a String array that contains the parameters of this runtime exception.
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static void checkPositive(java.lang.Integer propId,
int value)
Determines whether the unexpected value is positive.
propId - An Integer that represents the property ID.value - An int that represents the value.public java.lang.String[] getParams()
Returns a String array that contains the parameters of this runtime exception.
String array that contains the parameters of this runtime exception.
public static void checkRange(java.lang.Integer propId,
double value,
double lowerbound,
double upperbound)
Determines whether the value is out of range.
propId - An Integer that represents the property ID.value - A double that represents the value.lowerbound - A double that represents the lower bound.upperbound - A double that represents the upper bound.
public static void checkRange(java.lang.Integer propId,
int value,
int lowerbound,
int upperbound)
Determines whether the value is out of range.
propId - An Integer that represents the property ID.value - An int that represents the value.lowerbound - An int that represents the lower bound.upperbound - An int that represents the upper bound.public java.lang.Throwable getCause()
Returns a Throwable excpetion object that caused the current exception.
getCause in class java.lang.ThrowableThrowable exception object that caused the current exception.public java.lang.String getMessage(java.util.Locale locale)
Returns the localized error message of this throwable object.
locale - The locale-specific properties that the message string will use.
String containing the error message string of this
Throwable object if it was created with an
error message string or null if it was created with
no error message.public java.lang.String getDetail()
Gets the detailed error message used for diagnosis. The string will contain the stack trace, and nested exceptions if applicable. This string is only available in English.
public java.lang.String getMessage()
Returns the error message of this throwable object.
getMessage in class java.lang.ThrowableString containing the error message string of this
Throwable object if it was created with an
error message string or null if it was created with
no error message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||