Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class BusinessServiceException

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

public class BusinessServiceException
extends ValidationException

BusinessService exception class to indicate an invalid BusinessService instance.

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

Field Summary
static int BINDINGTEMPLATE
          Constant for an exception on a BindingTemplate.
static int BUSINESSKEY
          Constant for an exception on a BusinessKey.
protected  BusinessService businessService
          BusinessService that caused the exception to be thrown.
static int CATEGORYBAG
          Constant for an exception on a CategoryBag.
static int DESCRIPTION
          Constant for an exception on a Description.
static int NAME
          Constant for an exception on a Name.
static int SERVICEKEY
          Constant for an exception on a ServiceKey.
 
Fields inherited from class inspireit.uddi.util.validators.ValidationException
COMPOSITE, exceptions, faulty, subexception, type
 
Constructor Summary
BusinessServiceException(BusinessServiceException[] exceptions)
          BusinessServiceException constructor.
BusinessServiceException(BusinessService businessService, int type, java.lang.String message, java.lang.Object faulty, ValidationException ve)
          BusinessServiceException constructor.
 
Method Summary
 BusinessService getBusinessService()
          Gets the BusinessService 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

BUSINESSKEY

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

See Also:
Constant Field Values

SERVICEKEY

public static final int SERVICEKEY
Constant for an exception on a ServiceKey.

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

BINDINGTEMPLATE

public static final int BINDINGTEMPLATE
Constant for an exception on a BindingTemplate.

See Also:
Constant Field Values

CATEGORYBAG

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

See Also:
Constant Field Values

businessService

protected BusinessService businessService
BusinessService that caused the exception to be thrown.

Constructor Detail

BusinessServiceException

public BusinessServiceException(BusinessService businessService,
                                int type,
                                java.lang.String message,
                                java.lang.Object faulty,
                                ValidationException ve)
BusinessServiceException constructor.

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

BusinessServiceException

public BusinessServiceException(BusinessServiceException[] exceptions)
BusinessServiceException constructor.

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

getBusinessService

public BusinessService getBusinessService()
Gets the BusinessService that caused the exception to be thrown.

Returns:
the BusinessService 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.