org.kuali.rice.core.api.exception
Class RiceIllegalArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.kuali.rice.core.api.exception.RiceIllegalArgumentException
All Implemented Interfaces:
Serializable

@WebFault(name="IllegalArgumentFault",
          targetNamespace="http://rice.kuali.org/core/v2_0")
public class RiceIllegalArgumentException
extends IllegalArgumentException

Subclass of IllegalArgumentException that has been annotated properly using JAX-WS to be (un)marshalled as SOAP fault. This class should be used in place of IllegalArgumentException for all services to be exposed remotely within Rice.

Note that even though this is a RuntimeException, in places where it is used it needs to be explicitly declared in the throws declaration of the method. This ensures that the JAX-WS annotation properly marshals and unmarshals the exception to and from the appropriate SOAP fault.

Since:
2.0
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
RiceIllegalArgumentException()
           
RiceIllegalArgumentException(String s)
           
RiceIllegalArgumentException(String s, Throwable throwable)
           
RiceIllegalArgumentException(Throwable throwable)
           
 
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

RiceIllegalArgumentException

public RiceIllegalArgumentException()

RiceIllegalArgumentException

public RiceIllegalArgumentException(String s)

RiceIllegalArgumentException

public RiceIllegalArgumentException(String s,
                                    Throwable throwable)

RiceIllegalArgumentException

public RiceIllegalArgumentException(Throwable throwable)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.