GemFire 5.8

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

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:
5.8LA
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:
5.8LA

FunctionException

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

Parameters:
msg -
cause -
Since:
5.8LA

FunctionException

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

Parameters:
cause -
Since:
5.8LA

GemFire 5.8

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