XBinder C# Runtime Library  2.7
Public Member Functions | List of all members
com.objsys.xbinder.runtime.XBOccurrencesException Class Reference

This exception is thrown when the number of occurrences of an attribute, element, group, or wildcard is not valid. More...

Inheritance diagram for com.objsys.xbinder.runtime.XBOccurrencesException:
com.objsys.xbinder.runtime.XBValidationException com.objsys.xbinder.runtime.XBException

Public Member Functions

 XBOccurrencesException (int actual)
 Report the number of actual occurrences found. More...
 
 XBOccurrencesException (int actual, System.String name)
 Report the number of actual occurrences found, with some identifier for the object of interest. More...
 
- Public Member Functions inherited from com.objsys.xbinder.runtime.XBValidationException
 XBValidationException (System.String message)
 
 XBValidationException (System.String message, System.Exception cause)
 
 XBValidationException (System.Exception cause)
 
- Public Member Functions inherited from com.objsys.xbinder.runtime.XBException
 XBException (System.String message)
 This constructor passes the given message text to the superclass. More...
 
 XBException (System.String message, System.Exception cause)
 
 XBException (System.Exception cause)
 

Detailed Description

This exception is thrown when the number of occurrences of an attribute, element, group, or wildcard is not valid.

Constructor & Destructor Documentation

◆ XBOccurrencesException() [1/2]

com.objsys.xbinder.runtime.XBOccurrencesException.XBOccurrencesException ( int  actual)

Report the number of actual occurrences found.

Parameters
actual

◆ XBOccurrencesException() [2/2]

com.objsys.xbinder.runtime.XBOccurrencesException.XBOccurrencesException ( int  actual,
System.String  name 
)

Report the number of actual occurrences found, with some identifier for the object of interest.

Parameters
actualThe actual # of occurrences.
nameIdentifies the item of interest.