Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class ValidationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--inspireit.uddi.util.validators.ValidationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AddressException, AddressLineException, BindingTemplateException, BindingTemplatesException, BusinessEntityException, BusinessServiceException, BusinessServicesException, CategoryBagException, ContactException, ContactsException, DiscoveryURLException, DiscoveryURLsException, EMailException, IdentifierBagException, InstanceDetailsException, KeyedReferenceException, PhoneException, PublisherAssertionException, TModelException, TModelInstanceInfoException

public class ValidationException
extends java.lang.Exception

ValidationException is the root exception for a validation exception.

Author:
Bertrand Fontaine, INSPIRE IT $Revision: 1.2 $
See Also:
Serialized Form

Field Summary
static int COMPOSITE
          Constant for a composite exception.
protected  ValidationException[] exceptions
          List of exceptions that have been thrown.
protected  java.lang.Object faulty
          The faulty object.
protected  ValidationException subexception
           
protected  int type
          The exception type.
 
Constructor Summary
ValidationException(int type, java.lang.String message, java.lang.Object faulty, ValidationException subexception)
          ValidationException constructor.
ValidationException(ValidationException[] exceptions)
          TModelException constructor.
 
Method Summary
 ValidationException[] getExceptions()
          Gets the exceptions that have been thrown.
 java.lang.Object getFaulty()
          Gets the faulty object.
 java.lang.String getMessage()
           
 ValidationException getSubException()
           
 int getType()
          Gets the exception type.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPOSITE

public static final int COMPOSITE
Constant for a composite exception.

See Also:
Constant Field Values

type

protected int type
The exception type.


faulty

protected java.lang.Object faulty
The faulty object.


exceptions

protected ValidationException[] exceptions
List of exceptions that have been thrown.


subexception

protected ValidationException subexception
Constructor Detail

ValidationException

public ValidationException(int type,
                           java.lang.String message,
                           java.lang.Object faulty,
                           ValidationException subexception)
ValidationException constructor.

Parameters:
type - The exception type.
message - An informational message.
faulty - The faulty object.

ValidationException

public ValidationException(ValidationException[] exceptions)
TModelException constructor.

Parameters:
exceptions - List of exceptions that have been thrown.
Method Detail

getType

public int getType()
Gets the exception type.

Returns:
the exception type

getSubException

public ValidationException getSubException()

getExceptions

public ValidationException[] getExceptions()
Gets the exceptions that have been thrown.

Returns:
an array containing the exceptions that have been thrown

getFaulty

public java.lang.Object getFaulty()
Gets the faulty object.

Returns:
the faulty object

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

Ruddi™ UDDI Client API
1.0

Download now! | Submit a bug or feature
(c) 2003 INSPIRE IT
Bld Brand Whitlock 109
1200 Brussels, Belgium
All Rights Reserved.