com.evolveum.midpoint.exception
Class IllegalRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.evolveum.midpoint.exception.IllegalRequestException
All Implemented Interfaces:
java.io.Serializable

public class IllegalRequestException
extends java.lang.Exception

Illegal Request Exception. This is a reusable exception type that indicates that the request was ill-formed. It may have illegal format, may miss required attribute or it is violating interface contract in some other way. The reaction to this exception should be IllegalArgumentFaultType in WSDL interface. This is different from IllegalArgumentException in that this is a checked exception. IllegalArgumentException indicates the programmer's error in the java code. This exception does not indicate programmer's erorro, or at least not a programmer error on "our" side. This exception indicates that we have been called with wrong parameters (and we have somehow expected that).

Author:
semancik
See Also:
Serialized Form

Constructor Summary
IllegalRequestException()
          Creates a new instance of IllegalRequestException without detail message.
IllegalRequestException(java.lang.String msg)
          Constructs an instance of IllegalRequestException with the specified detail message.
 
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

IllegalRequestException

public IllegalRequestException()
Creates a new instance of IllegalRequestException without detail message.


IllegalRequestException

public IllegalRequestException(java.lang.String msg)
Constructs an instance of IllegalRequestException with the specified detail message.

Parameters:
msg - the detail message.


Copyright © 2011 evolveum. All Rights Reserved.