org.eclipse.egit.github.core.client
Class NoSuchPageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.util.NoSuchElementException
                  extended by org.eclipse.egit.github.core.client.NoSuchPageException
All Implemented Interfaces:
Serializable

public class NoSuchPageException
extends NoSuchElementException

Exception class to be thrown when iterating over pages fails. This exception wraps an IOException that is the actual exception that occurred when the page request was made.

See Also:
Serialized Form

Field Summary
protected  IOException cause
          Cause exception
 
Constructor Summary
NoSuchPageException(IOException cause)
          Create no such page exception
 
Method Summary
 IOException getCause()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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
 

Field Detail

cause

protected final IOException cause
Cause exception

Constructor Detail

NoSuchPageException

public NoSuchPageException(IOException cause)
Create no such page exception

Parameters:
cause -
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getCause

public IOException getCause()
Overrides:
getCause in class Throwable


Copyright © 2012. All Rights Reserved.