public class ProfileExistsException extends RuntimeException
Constructor and Description |
---|
ProfileExistsException(ServiceProfile profile,
int index) |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets the index of the
ServiceProfile . |
ServiceProfile |
getProfile()
Gets the
ServiceProfile . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ProfileExistsException(ServiceProfile profile, int index)
public ServiceProfile getProfile()
ServiceProfile
.ServiceProfile
.public int getIndex()
ServiceProfile
. When registering a set of
ServiceProfile
, the ServiceCallee
has to provide an array
of ServiceProfile
. The index is the position in that array for
the profile that was rrgistered before.Copyright © 2018 universAAL Consortium. All rights reserved.