com.sage.orion.sdata.servlet
Class IncompleteKeyInPayloadException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sage.orion.sdata.servlet.IncompleteKeyInPayloadException
All Implemented Interfaces:
java.io.Serializable

public class IncompleteKeyInPayloadException
extends java.lang.RuntimeException

SData exception to be thrown when a payload used for updates (PUT) or for non auto-generated key inserts (POST) is missing key field values. For example, if a key comprises multiple fields, this exception is thrown if at least one of those fields is missing from the payload.

See Also:
Serialized Form

Constructor Summary
IncompleteKeyInPayloadException()
          Default constructor.
IncompleteKeyInPayloadException(java.lang.String message)
          Constructs an "incomplete key in payload" exception with the specified message.
IncompleteKeyInPayloadException(java.lang.String message, java.lang.Throwable cause)
          Constructs an "incomplete key in payload" exception with the specified message and cause.
IncompleteKeyInPayloadException(java.lang.Throwable cause)
          Constructs an "incomplete key in payload" exception with the specified cause.
 
Method Summary
 
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

IncompleteKeyInPayloadException

public IncompleteKeyInPayloadException()
Default constructor.


IncompleteKeyInPayloadException

public IncompleteKeyInPayloadException(java.lang.String message)
Constructs an "incomplete key in payload" exception with the specified message.

Parameters:
message - The exception message.

IncompleteKeyInPayloadException

public IncompleteKeyInPayloadException(java.lang.Throwable cause)
Constructs an "incomplete key in payload" exception with the specified cause.

Parameters:
cause - The exception that caused this exception.

IncompleteKeyInPayloadException

public IncompleteKeyInPayloadException(java.lang.String message,
                                       java.lang.Throwable cause)
Constructs an "incomplete key in payload" exception with the specified message and cause.

Parameters:
message - The exception message.
cause - The exception that caused this exception.


Copyright © 2011 Sage Software, Inc. All rights reserved.