org.jvnet.solaris.libzfs
Class ZFSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jvnet.solaris.libzfs.ZFSException
All Implemented Interfaces:
Serializable

public class ZFSException
extends RuntimeException

Indicates an error in ZFS operation.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Method Summary
 ErrorCode getCode()
          Gets the ZFS error code.
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCode

public ErrorCode getCode()
Gets the ZFS error code.


toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2012. All Rights Reserved.