|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
| 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
java.lang.IllegalArgumentException
oracle.irm.engine.system.general.IllegalArgumentLengthException
public class IllegalArgumentLengthException
An invalid value has been passed as a method argument. The value exceeds the permitted length.
The error message associated with this exception is:
IRM-01079: The parameter {1} passed into {0} cannot exceed {4} characters in length. The invalid value provided was {2} which has {3} characters.
| Constructor Summary | |
|---|---|
IllegalArgumentLengthException(String method, String name, Object value, int length, int maximum)Constructor. |
|
IllegalArgumentLengthException(String method, String name, Object value, int length, int maximum, Throwable cause)Constructor. |
|
| Method Summary | |
|---|---|
int |
getLength()The value's length. |
int |
getMaximum()The maximum permitted length. |
String |
getMethod()The method name. |
String |
getName()The parameter name. |
Object |
getValue()The invalid value. |
| 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 |
|---|
public IllegalArgumentLengthException(String method,
String name,
Object value,
int length,
int maximum)
method - The method name.name - The parameter name.value - The invalid value.length - The value's length.maximum - The maximum permitted length.
public IllegalArgumentLengthException(String method,
String name,
Object value,
int length,
int maximum,
Throwable cause)
method - The method name.name - The parameter name.value - The invalid value.length - The value's length.maximum - The maximum permitted length.cause - Cause of the exception.| Method Detail |
|---|
public final String getMethod()
public final String getName()
public final Object getValue()
public final int getLength()
public final int getMaximum()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||