krati.core.segment
Class SegmentFileSizeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by krati.core.segment.SegmentException
                  extended by krati.core.segment.SegmentFileSizeException
All Implemented Interfaces:
Serializable

public class SegmentFileSizeException
extends SegmentException

SegmentFileSizeException

Author:
jwu
See Also:
Serialized Form

Constructor Summary
SegmentFileSizeException(String segmentFilePath, int segmentFileSizeMB, int expectedFileSizeMB)
           
 
Method Summary
 int getExpectedFileSizeMB()
           
 String getSegmentFilePath()
           
 int getSegmentFileSizeMB()
           
 
Methods inherited from class krati.core.segment.SegmentException
segmentNotFound
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

SegmentFileSizeException

public SegmentFileSizeException(String segmentFilePath,
                                int segmentFileSizeMB,
                                int expectedFileSizeMB)
Method Detail

getSegmentFilePath

public String getSegmentFilePath()

getSegmentFileSizeMB

public int getSegmentFileSizeMB()

getExpectedFileSizeMB

public int getExpectedFileSizeMB()


Copyright © 2011. All Rights Reserved.