com.ibm.as400.access
Class IllegalPathNameException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.ibm.as400.access.IllegalPathNameException
All Implemented Interfaces:
ReturnCodeException, java.io.Serializable

public class IllegalPathNameException
extends java.lang.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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, 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.

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.

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.

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.

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.

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/.

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.

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.

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.
Method Detail

getReturnCode

public int getReturnCode()
Returns the return code associated with this exception.
Specified by:
getReturnCode in interface ReturnCodeException
Returns:
The return code.