Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class BusinessEntityException

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

public class BusinessEntityException
extends ValidationException

BusinessEntity exception class to indicate an invalid BusinessEntity instance.

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

Field Summary
static int AUTHORIZEDNAME
          Constant for an exception on a AuthorizedName.
static int BINDINGKEY
          Constant for an exception on a BusinessKey.
protected  BusinessEntity businessEntity
          BusinessEntity that caused the exception to be thrown.
static int BUSINESSENTITY
          Constant for an exception on the BusinessEntity itself.
static int BUSINESSSERVICES
          Constant for an exception on a BusinessServices.
static int CATEGORYBAG
          Constant for an exception on a CategoryBag.
static int CONTACTS
          Constant for an exception on a Contacts.
static int DESCRIPTION
          Constant for an exception on a Description.
static int DISCOVERYURLS
          Constant for an exception on a DiscoveryURLs.
static int IDENTIFIERBAG
          Constant for an exception on a IdentifierBag.
static int NAME
          Constant for an exception on a Name.
static int OPERATOR
          Constant for an exception on a Operator.
 
Fields inherited from class inspireit.uddi.util.validators.ValidationException
COMPOSITE, exceptions, faulty, subexception, type
 
Constructor Summary
BusinessEntityException(BusinessEntityException[] exceptions)
          BusinessEntityException constructor.
BusinessEntityException(BusinessEntity businessEntity, int type, java.lang.String message, java.lang.Object faulty, ValidationException ve)
          BusinessEntityException constructor.
 
Method Summary
 BusinessEntity getBusinessEntity()
          Gets the BusinessEntity that caused the exception to be thrown.
 
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

BUSINESSENTITY

public static final int BUSINESSENTITY
Constant for an exception on the BusinessEntity itself.

See Also:
Constant Field Values

BINDINGKEY

public static final int BINDINGKEY
Constant for an exception on a BusinessKey.

See Also:
Constant Field Values

AUTHORIZEDNAME

public static final int AUTHORIZEDNAME
Constant for an exception on a AuthorizedName.

See Also:
Constant Field Values

OPERATOR

public static final int OPERATOR
Constant for an exception on a Operator.

See Also:
Constant Field Values

DISCOVERYURLS

public static final int DISCOVERYURLS
Constant for an exception on a DiscoveryURLs.

See Also:
Constant Field Values

NAME

public static final int NAME
Constant for an exception on a Name.

See Also:
Constant Field Values

DESCRIPTION

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

See Also:
Constant Field Values

CONTACTS

public static final int CONTACTS
Constant for an exception on a Contacts.

See Also:
Constant Field Values

BUSINESSSERVICES

public static final int BUSINESSSERVICES
Constant for an exception on a BusinessServices.

See Also:
Constant Field Values

IDENTIFIERBAG

public static final int IDENTIFIERBAG
Constant for an exception on a IdentifierBag.

See Also:
Constant Field Values

CATEGORYBAG

public static final int CATEGORYBAG
Constant for an exception on a CategoryBag.

See Also:
Constant Field Values

businessEntity

protected BusinessEntity businessEntity
BusinessEntity that caused the exception to be thrown.

Constructor Detail

BusinessEntityException

public BusinessEntityException(BusinessEntity businessEntity,
                               int type,
                               java.lang.String message,
                               java.lang.Object faulty,
                               ValidationException ve)
BusinessEntityException constructor.

Parameters:
businessEntity - The BusinessEntity that caused the exception to be thrown.
type - The exception type.
message - An informational message.
faulty - The faulty object.

BusinessEntityException

public BusinessEntityException(BusinessEntityException[] exceptions)
BusinessEntityException constructor.

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

getBusinessEntity

public BusinessEntity getBusinessEntity()
Gets the BusinessEntity that caused the exception to be thrown.

Returns:
the BusinessEntity that caused the exception to be thrown

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.