Class IndexComponentNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.compuware.api.topaz.TopazAPIRuntimeException
-
- com.compuware.api.topaz.hostresources.zos.IndexComponentNotFoundException
-
- All Implemented Interfaces:
Serializable
public class IndexComponentNotFoundException extends TopazAPIRuntimeException
IndexComponentNotFoundException
is an unchecked exception thrown when an attempt to access the index component of a VSAM cluster fails because the VSAM cluster does not have an index component.- Since:
- 1.0.0
- Version:
- 2.0.0
- See Also:
IVSAMClusterCharacteristics.hasIndexComponentCharacteristics
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexComponentNotFoundException(String message, String localizedMessage, IVSAMCluster vsamCluster)
Constructs a new index component not found exception with the specified detail messages and dataset name.IndexComponentNotFoundException(String message, String localizedMessage, Throwable cause, IVSAMCluster vsamCluster)
Constructs a new index component not found exception with the specified detail messages, cause, and dataset name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IVSAMCluster
getVSAMCluster()
Returns the VSAM cluster that does not have an index component.-
Methods inherited from class com.compuware.api.topaz.TopazAPIRuntimeException
getLocalizedMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IndexComponentNotFoundException
public IndexComponentNotFoundException(String message, String localizedMessage, IVSAMCluster vsamCluster)
Constructs a new index component not found exception with the specified detail messages and dataset name. 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 theTopazAPIRuntimeException.getLocalizedMessage()
method). (Anull
value is permitted, in which casegetLocalizedMessage()
will return the non-localized detail message.)vsamCluster
- the VSAM cluster that does not have an index component- Since:
- 1.0.0
-
IndexComponentNotFoundException
public IndexComponentNotFoundException(String message, String localizedMessage, Throwable cause, IVSAMCluster vsamCluster)
Constructs a new index component not found exception with the specified detail messages, cause, and dataset name.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 theTopazAPIRuntimeException.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.)vsamCluster
- the VSAM cluster that does not have an index component- Since:
- 1.0.0
-
-
Method Detail
-
getVSAMCluster
public IVSAMCluster getVSAMCluster()
Returns the VSAM cluster that does not have an index component.- Returns:
- the VSAM cluster
- Since:
- 1.0.0
-
-