|
||||||||||
| 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
java.lang.IllegalArgumentException
microsoft.exchange.webservices.data.core.exception.misc.ArgumentException
public class ArgumentException
The Class ArgumentException.
| Constructor Summary | |
|---|---|
protected |
ArgumentException()
Constructs an IllegalArgumentException with no detail message. |
|
ArgumentException(String message)
Constructs an IllegalArgumentException with the specified detail message. |
|
ArgumentException(String s,
String paramName)
Constructs an IllegalArgumentException with the specified detail message. |
|
ArgumentException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
ArgumentException(String message,
Throwable cause,
String paramName)
Initializes a new instance of the System. |
|
ArgumentException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). |
|
ArgumentException(Throwable cause,
String paramName)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). |
| Method Summary | |
|---|---|
String |
getParamName()
Get the Name of the Param that causes the exception |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ArgumentException()
IllegalArgumentException with no detail message.
public ArgumentException(String message)
IllegalArgumentException with the specified detail message.
message - the detail message.
public ArgumentException(String s,
String paramName)
IllegalArgumentException with the specified detail message.
s - the detail message.paramName - the Name of the Param that causes the exception
public ArgumentException(String message,
Throwable cause)
Note that the detail message associated with cause is not automatically
incorporated in this exception's detail message.
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).cause - the cause (which is saved for later retrieval by the Throwable.getCause() method).
(A null value is permitted, and indicates that the cause is nonexistent or
unknown.)public ArgumentException(Throwable cause)
PrivilegedActionException).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method).
(A null value is permitted, and indicates that the cause is nonexistent or
unknown.)
public ArgumentException(Throwable cause,
String paramName)
PrivilegedActionException).
cause - the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and indicates that the cause is
nonexistent or unknown.)paramName - the Name of the Param that causes the exception
public ArgumentException(String message,
Throwable cause,
String paramName)
message - The error message that explains the reason for the exception.cause - the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and indicates that the cause is
nonexistent or unknown.)paramName - the Name of the Param that causes the exception| Method Detail |
|---|
public String getParamName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||