Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class ContactException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--inspireit.uddi.util.validators.ValidationException
                    |
                    +--inspireit.uddi.util.validators.ContactException
All Implemented Interfaces:
java.io.Serializable

public class ContactException
extends ValidationException

Contact exception class to indicate an invalid Contact instance.

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

Field Summary
static int ADDRESS
          Constant for an exception on a Address.
protected  Contact contact
           
static int DESCRIPTION
          Constant for an exception on a Description.
static int EMAIL
          Constant for an exception on a EMail.
static int PERSONNAME
          Constant for an exception on a PersonName.
static int PHONE
          Constant for an exception on a Phone.
static int USETYPE
          Constant for an exception on a useType.
 
Fields inherited from class inspireit.uddi.util.validators.ValidationException
COMPOSITE, exceptions, faulty, subexception, type
 
Constructor Summary
ContactException(ContactException[] exceptions)
          ContactException constructor.
ContactException(Contact contact, int type, java.lang.String message, java.lang.Object faulty, ValidationException subexception)
          ContactException constructor.
 
Method Summary
 Contact getContact()
           
 
Methods inherited from class inspireit.uddi.util.validators.ValidationException
getExceptions, getFaulty, getMessage, getSubException, getType
 
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

USETYPE

public static final int USETYPE
Constant for an exception on a useType.

See Also:
Constant Field Values

DESCRIPTION

public static final int DESCRIPTION
Constant for an exception on a Description.

See Also:
Constant Field Values

PERSONNAME

public static final int PERSONNAME
Constant for an exception on a PersonName.

See Also:
Constant Field Values

PHONE

public static final int PHONE
Constant for an exception on a Phone.

See Also:
Constant Field Values

EMAIL

public static final int EMAIL
Constant for an exception on a EMail.

See Also:
Constant Field Values

ADDRESS

public static final int ADDRESS
Constant for an exception on a Address.

See Also:
Constant Field Values

contact

protected Contact contact
Constructor Detail

ContactException

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

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

ContactException

public ContactException(ContactException[] exceptions)
ContactException constructor.

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

getContact

public Contact getContact()

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.