|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
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
oracle.iam.rm.server_api.ServerException
oracle.iam.rm.server_api.model.ValidationException
public class ValidationException
An exception that indicates a validation fault with the passed arguments.
Constructor Summary | |
---|---|
ValidationException(java.util.Map violations) Creates a ValidationException . |
|
ValidationException(java.lang.String message, java.util.Map violations) Creates a ValidationException with a detail message. |
Method Summary | |
---|---|
java.util.Map |
getViolations() Gets the violation messages keyed by the ID of the argument whose value violated the constraint. |
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 ValidationException(java.lang.String message, java.util.Map violations)
ValidationException
with a detail message.
message
- detail messageviolations
- Map of violation messages keyed by the ID of the argument whose value violated the constraintpublic ValidationException(java.util.Map violations)
ValidationException
.
violations
- Map of violation messages keyed by the ID of the argument whose value violated the constraintMethod Detail |
---|
public java.util.Map getViolations()
Map
of violation messages keyed by the ID of the argument whose value violated the constraint.
|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |