Class MemberInUseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.compuware.api.topaz.TopazAPIException
-
- com.compuware.api.topaz.hostresources.HostResourceException
-
- com.compuware.api.topaz.hostresources.zos.MemberInUseException
-
- All Implemented Interfaces:
Serializable
public class MemberInUseException extends HostResourceException
MemberInUseException
is a checked exception thrown when an attempt to perform an action on a partitioned dataset member fails because it is in use.- Since:
- 1.1.0
- Version:
- 2.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MemberInUseException(String message, String localizedMessage, String dataSetName, String memberName, List<IEnqueueOwner> enqueueOwners)
Constructs a new member in use exception with the specified detail messages, partitioned dataset name, member name, and enqueue owners.MemberInUseException(String message, String localizedMessage, Throwable cause, String dataSetName, String memberName, List<IEnqueueOwner> enqueueOwners)
Constructs a new member in use exception with the specified detail messages, cause, partitioned dataset name, member name, and enqueue owners.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IEnqueueOwner>
getEnqueueOwners()
Returns the list of owners that have an exclusive enqueue on the member.-
Methods inherited from class com.compuware.api.topaz.hostresources.HostResourceException
getHostResourceName
-
Methods inherited from class com.compuware.api.topaz.TopazAPIException
getLocalizedMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MemberInUseException
public MemberInUseException(String message, String localizedMessage, String dataSetName, String memberName, List<IEnqueueOwner> enqueueOwners)
Constructs a new member in use exception with the specified detail messages, partitioned dataset name, member name, and enqueue owners. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.- Parameters:
message
- the non-localized detail message (which is saved for later retrieval by theThrowable.getMessage()
method).localizedMessage
- the localized description (which is saved for later retrieval by theTopazAPIException.getLocalizedMessage()
method). (Anull
value is permitted, in which casegetLocalizedMessage()
will return the non-localized detail message.)dataSetName
- the name of the partitioned dataset associated with this exceptionmemberName
- the name of the member associated with this exceptionenqueueOwners
- the list of enqueue owners that are using the member- Since:
- 1.1.0
-
MemberInUseException
public MemberInUseException(String message, String localizedMessage, Throwable cause, String dataSetName, String memberName, List<IEnqueueOwner> enqueueOwners)
Constructs a new member in use exception with the specified detail messages, cause, partitioned dataset name, member name, and enqueue owners.Note that the detail message associated with
cause
is not automatically incorporated in this exception's detail message.- Parameters:
message
- the non-localized detail message (which is saved for later retrieval by theThrowable.getMessage()
method).localizedMessage
- the localized description (which is saved for later retrieval by theTopazAPIException.getLocalizedMessage()
method). (Anull
value is permitted, in which casegetLocalizedMessage()
will return the non-localized detail message.)cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)dataSetName
- the name of the partitioned dataset associated with this exceptionmemberName
- the name of the member associated with this exceptionenqueueOwners
- the list of enqueue owners that are using the member- Since:
- 1.1.0
-
-
Method Detail
-
getEnqueueOwners
public List<IEnqueueOwner> getEnqueueOwners()
Returns the list of owners that have an exclusive enqueue on the member.- Returns:
- the enqueue owners
- Since:
- 1.1.0
-
-