com.tibco.amf.platform.runtime.extension.exception
Class NativeServiceRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.osoa.sca.ServiceRuntimeException
                  extended by com.tibco.amf.platform.runtime.extension.exception.NativeServiceRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class NativeServiceRuntimeException
extends org.osoa.sca.ServiceRuntimeException

Exception that can be thrown by native component adapter.

Since:
Feb 9, 2010
See Also:
Serialized Form

Constructor Summary
NativeServiceRuntimeException(java.lang.String message, java.lang.String nativeExceptionString)
           
NativeServiceRuntimeException(java.lang.String message, java.lang.String nativeExceptionString, java.lang.Throwable cause)
           
 
Method Summary
 java.util.Properties getCustomProperties()
           
 java.lang.String getNativeExceptionString()
           
 void setCustomProperties(java.util.Properties customProperties)
           
 
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

NativeServiceRuntimeException

public NativeServiceRuntimeException(java.lang.String message,
                                     java.lang.String nativeExceptionString)

NativeServiceRuntimeException

public NativeServiceRuntimeException(java.lang.String message,
                                     java.lang.String nativeExceptionString,
                                     java.lang.Throwable cause)
Method Detail

setCustomProperties

public void setCustomProperties(java.util.Properties customProperties)
Parameters:
customProperties - custom properties that should be set on message before putting on error queue, null or empty are valid values.

getCustomProperties

public java.util.Properties getCustomProperties()

getNativeExceptionString

public java.lang.String getNativeExceptionString()
Returns:
the nativeExceptionString


Copyright © 2010 TIBCO Software Inc. All Rights Reserved.