org.apache.hadoop.dfs
Class QuotaExceededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.hadoop.dfs.QuotaExceededException
All Implemented Interfaces:
Serializable

public final class QuotaExceededException
extends IOException

This class is for the error when an attempt to add an inode to namespace violates the quota restriction of any inode on the path to the newly added inode.

See Also:
Serialized Form

Constructor Summary
QuotaExceededException(long quota, long count)
           
QuotaExceededException(String msg)
           
 
Method Summary
 String getMessage()
           
 void setPathName(String path)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuotaExceededException

public QuotaExceededException(String msg)

QuotaExceededException

public QuotaExceededException(long quota,
                              long count)
Method Detail

setPathName

public void setPathName(String path)

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2008 The Apache Software Foundation