com.ibm.as400.access
Class IllegalPathNameException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.ibm.as400.access.IllegalPathNameException
All Implemented Interfaces:
ReturnCodeException, Serializable

public class IllegalPathNameException
extends RuntimeException
implements ReturnCodeException

The IllegalPathNameException class represents an exception that indicates that the integrated file system path name is not valid.

See Also:
Serialized Form

Field Summary
static int LIBRARY_LENGTH_NOT_VALID
          The return code indicating that the length of the library name is not valid.
static int LIBRARY_SPECIFICATION_NOT_VALID
          The return code indicating that the path is not specified correctly, and the most likely cause is a library specification that does not have the .LIB extension.
static int MEMBER_LENGTH_NOT_VALID
          The return code indicating that the length of the member name is not valid.
static int MEMBER_WITHOUT_FILE
          The return code indicating that the path name represents an object of type .MBR, but does not contain a valid .FILE specification.
static int OBJECT_LENGTH_NOT_VALID
          The return code indicating that the length of the object name is not valid.
static int OBJECT_TYPE_NOT_VALID
          The return code indicating that the object type is not valid.
static int QSYS_PREFIX_MISSING
          The return code indicating that the object is required to be in the QSYS file system, but the integrated file system name does not begin with /QSYS.LIB/.
static int QSYS_SYNTAX_NOT_VALID
          The return code indicating that the path starts with /QSYS.LIB/QSYS.LIB.
static int TYPE_LENGTH_NOT_VALID
          The return code indicating that the length of the object type is not valid.
 
Method Summary
 int getReturnCode()
          Returns the return code associated with this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

OBJECT_TYPE_NOT_VALID

public static final int OBJECT_TYPE_NOT_VALID
The return code indicating that the object type is not valid.

See Also:
Constant Field Values

LIBRARY_LENGTH_NOT_VALID

public static final int LIBRARY_LENGTH_NOT_VALID
The return code indicating that the length of the library name is not valid.

See Also:
Constant Field Values

OBJECT_LENGTH_NOT_VALID

public static final int OBJECT_LENGTH_NOT_VALID
The return code indicating that the length of the object name is not valid.

See Also:
Constant Field Values

MEMBER_LENGTH_NOT_VALID

public static final int MEMBER_LENGTH_NOT_VALID
The return code indicating that the length of the member name is not valid.

See Also:
Constant Field Values

TYPE_LENGTH_NOT_VALID

public static final int TYPE_LENGTH_NOT_VALID
The return code indicating that the length of the object type is not valid.

See Also:
Constant Field Values

QSYS_PREFIX_MISSING

public static final int QSYS_PREFIX_MISSING
The return code indicating that the object is required to be in the QSYS file system, but the integrated file system name does not begin with /QSYS.LIB/.

See Also:
Constant Field Values

QSYS_SYNTAX_NOT_VALID

public static final int QSYS_SYNTAX_NOT_VALID
The return code indicating that the path starts with /QSYS.LIB/QSYS.LIB. Objects in library QSYS should not repeat the library specification.

See Also:
Constant Field Values

MEMBER_WITHOUT_FILE

public static final int MEMBER_WITHOUT_FILE
The return code indicating that the path name represents an object of type .MBR, but does not contain a valid .FILE specification.

See Also:
Constant Field Values

LIBRARY_SPECIFICATION_NOT_VALID

public static final int LIBRARY_SPECIFICATION_NOT_VALID
The return code indicating that the path is not specified correctly, and the most likely cause is a library specification that does not have the .LIB extension.

See Also:
Constant Field Values
Method Detail

getReturnCode

public int getReturnCode()
Returns the return code associated with this exception.

Specified by:
getReturnCode in interface ReturnCodeException
Returns:
The return code.