org.xerial.snappy
Class SnappyError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.xerial.snappy.SnappyError
All Implemented Interfaces:
Serializable

public class SnappyError
extends Error

Used when serious errors (unchecked exception) are observed.

Author:
leo
See Also:
Serialized Form

Field Summary
 SnappyErrorCode errorCode
           
 
Constructor Summary
SnappyError(SnappyErrorCode code)
           
SnappyError(SnappyErrorCode code, Error e)
           
SnappyError(SnappyErrorCode code, String message)
           
 
Method Summary
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errorCode

public final SnappyErrorCode errorCode
Constructor Detail

SnappyError

public SnappyError(SnappyErrorCode code)

SnappyError

public SnappyError(SnappyErrorCode code,
                   Error e)

SnappyError

public SnappyError(SnappyErrorCode code,
                   String message)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2011 xerial.org. All Rights Reserved.