Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class AddressException

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

public class AddressException
extends ValidationException

Address exception class to indicate an invalid Address instance.

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

Field Summary
protected  Address address
           
static int ADDRESSLINE
          Constant for an exception on an AddressLine.
static int SORTCODE
          Constant for an exception on a sortCode.
static int TMODELKEY
          Constant for an exception on a TModelKey.
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
AddressException(AddressException[] exceptions)
          AddressException constructor.
AddressException(Address address, int type, java.lang.String message, java.lang.Object faulty, ValidationException subexception)
          AddressException constructor.
 
Method Summary
 Address getAddress()
           
 
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

SORTCODE

public static final int SORTCODE
Constant for an exception on a sortCode.

See Also:
Constant Field Values

ADDRESSLINE

public static final int ADDRESSLINE
Constant for an exception on an AddressLine.

See Also:
Constant Field Values

TMODELKEY

public static final int TMODELKEY
Constant for an exception on a TModelKey.

See Also:
Constant Field Values

address

protected Address address
Constructor Detail

AddressException

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

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

AddressException

public AddressException(AddressException[] exceptions)
AddressException constructor.

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

getAddress

public Address getAddress()

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.