Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.server_api.model
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.iam.rm.server_api.ServerException
              extended by oracle.iam.rm.server_api.model.ValidationException

All Implemented Interfaces:
java.io.Serializable

public class ValidationException
extends ServerException

An exception that indicates a validation fault with the passed arguments.

See Also:
Serialized Form

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

ValidationException

public ValidationException(java.lang.String message,
                           java.util.Map violations)
Creates a ValidationException with a detail message.
Parameters:
message - detail message
violations - Map of violation messages keyed by the ID of the argument whose value violated the constraint

ValidationException

public ValidationException(java.util.Map violations)
Creates a ValidationException.
Parameters:
violations - Map of violation messages keyed by the ID of the argument whose value violated the constraint

Method Detail

getViolations

public java.util.Map getViolations()
Gets the violation messages keyed by the ID of the argument whose value violated the constraint.
Returns:
Map of violation messages keyed by the ID of the argument whose value violated the constraint.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.