FileDocCategorySizeDatePackage
NativeIOException.javaAPI DocGlassfish v2 API2902Fri May 04 22:32:14 BST 2007com.sun.enterprise.util.io

NativeIOException

public class NativeIOException extends IOException
An Exception that has a localized String for the error id returned by Native code and the actual integer id value.
author
bnevins

Fields Summary
private int
resultID
Constructors Summary
public NativeIOException(String msg)
Constructs an instance of NativeIOException with the specified detail message.

param
msg the detail message.

		this(msg, -1);
	
public NativeIOException(String msg, int id)
Constructs an instance of NativeIOException with the specified detail message.

param
msg the detail message.
param
id the integer id returned by native code

		super(msg);
		resultID = id;
	
Methods Summary
public intgetResultID()

return
the error id returned by native code

		return resultID;