GemFire 6.0.1

com.gemstone.gemfire.cache.execute
Class FunctionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.cache.execute.FunctionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FunctionInvocationTargetException

public class FunctionException
extends GemFireException

Thrown to indicate incorrect execution of Functions in GemFire.

The exception string provides details on the cause of failure.

Since:
6.0
See Also:
FunctionService, Serialized Form

Constructor Summary
FunctionException(String msg)
          Creates new function exception with given error message.
FunctionException(String msg, Throwable cause)
          Creates new function exception with given error message and optional nested exception.
FunctionException(Throwable cause)
          Creates new function exception given throwable as a cause and source of error message.
 
Method Summary
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionException

public FunctionException(String msg)
Creates new function exception with given error message.

Parameters:
msg -
Since:
6.0

FunctionException

public FunctionException(String msg,
                         Throwable cause)
Creates new function exception with given error message and optional nested exception.

Parameters:
msg -
cause -
Since:
6.0

FunctionException

public FunctionException(Throwable cause)
Creates new function exception given throwable as a cause and source of error message.

Parameters:
cause -
Since:
6.0

GemFire 6.0.1

Copyright © 2002-2009 GemStone Systems, Inc. All Rights Reserved.