Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.db
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.javatools.db.DBException
              extended by oracle.javatools.db.ValidationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DataTypeValidationException, DefaultValueValidationException, InvalidNameException, MissingValidatorException, NameInUseException

public class ValidationException
extends DBException

Indicates that the validation of the database object failed.

Since:
9.0.5
See Also:
Serialized Form

Constructor Summary
ValidationException(DBObject object, java.lang.String message)
          Constructs a new ValidationException.
ValidationException(DBObject object, java.lang.String message, java.lang.String title)
          Constructs a new ValidationException.
 
Method Summary
 java.lang.String getTitle()
          Returns the title of this error (if there is one).
 
Methods inherited from class oracle.javatools.db.DBException
getNextException, getObject, setNextException
 
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(DBObject object,
                           java.lang.String message)
Constructs a new ValidationException.

Parameters:
object - the object on which the validation failed
message - a string containing a message describing the exception

ValidationException

public ValidationException(DBObject object,
                           java.lang.String message,
                           java.lang.String title)
Constructs a new ValidationException.

Parameters:
object - the object on which the validation failed
message - a string containing a message describing the exception
title - a title for the message to be displayed under
Method Detail

getTitle

public java.lang.String getTitle()
Returns the title of this error (if there is one).


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.