javax.xml.rpc

Class JAXRPCException

Implemented Interfaces:
Serializable

public class JAXRPCException
extends RuntimeException

The base JAXRPC exception.
See Also:
Serialized Form

Constructor Summary

JAXRPCException()
Base constructor
JAXRPCException(String msg)
JAXRPC exception with a message.
JAXRPCException(String msg, Throwable cause)
JAXRPC exception with a message and cause.
JAXRPCException(Throwable cause)
JAXRPC exception with a cause.

Method Summary

Throwable
getLinkedCause()
Returns the linked cause.

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, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

JAXRPCException

public JAXRPCException()
Base constructor

JAXRPCException

public JAXRPCException(String msg)
JAXRPC exception with a message.
Usages and Demos :

View More Examples of JAXRPCException(String msg)
   1:         catch (Exception ex) {
   2:             throw new JAXRPCException(ex);
   3:         }
   4:     }
   5: }

View Full Code Here
   1:         catch (Exception ex) {
   2:             throw new JAXRPCException(ex);
   3:         }
   4:     }
   5: }

View Full Code Here
   1:       {
   2:          throw new JAXRPCException(e);
   3:       }
   4:    }
   5: }

View Full Code Here
   1:          log.error("Cannot add port", ex);
   2:          throw new JAXRPCException(ex);
   3:       }
   4: 
   5:       for (int i = 0; i < ports.size(); i++)

View Full Code Here
   1:         } catch (Exception e) {
   2:             throw new JAXRPCException(e);
   3:         }
   4: 
   5:         return true;

View Full Code Here

JAXRPCException

public JAXRPCException(String msg,
                       Throwable cause)
JAXRPC exception with a message and cause.
Usages and Demos :

View More Examples of JAXRPCException(String msg,Throwable cause)
   1:                       if( !( value instanceof String ) ) {
   2:                throw new JAXRPCException( Message.getMessage( "ERR_ClientProxy_invalidPropValueType", java.lang.String.class.getName(), value.getClass().getName() ) );
   3:            }
   4:         ...
   5:                       if( !( value instanceof String ) ) {
   6:                throw new JAXRPCException( Message.getMessage( "ERR_ClientProxy_invalidPropValueType", java.lang.String.class.getName(), value.getClass().getName() ) );
   7:            }
   8:         ...
   9:                       if( !( value instanceof String ) ) {
  10:                throw new JAXRPCException( Message.getMessage( "ERR_ClientProxy_invalidPropValueType", java.lang.String.class.getName(), value.getClass().getName() ) );
  11:            }

View Full Code Here
   1:             String messageText = Messages.getMessage("NoJAXRPCHandler00", className);
   2:             throw new JAXRPCException(messageText, ex);
   3:         }
   4:         ...
   5:             String messageText = Messages.getMessage("NoJAXRPCHandler00", handlerInfo.getHandlerClass().toString());
   6:             throw new JAXRPCException(messageText, ex);
   7:         }
   8:     }
   9: }

View Full Code Here
   1:                         if( !( value instanceof String ) ) {
   2:                 throw new JAXRPCException( Message.getMessage( "ERR_ClientProxy_invalidPropValueType", java.lang.String.class.getName(), value.getClass().getName() ) );
   3:             }
   4:         ...
   5:                         if( !( value instanceof String ) ) {
   6:                 throw new JAXRPCException( Message.getMessage( "ERR_ClientProxy_invalidPropValueType", java.lang.String.class.getName(), value.getClass().getName() ) );
   7:             }
   8:         ...
   9:                         if( !( value instanceof String ) ) {
  10:                 throw new JAXRPCException( Message.getMessage( "ERR_ClientProxy_invalidPropValueType", java.lang.String.class.getName(), value.getClass().getName() ) );
  11:             }

View Full Code Here
   1:         if( !this.isParameterAndReturnSpecRequired( this.operationName ) ) {
   2:             throw new JAXRPCException( org.act.soap.util.i18n.Message.getMessage( "ERR_Call_methodCallErr", "addParameter" ) );
   3:         }
   4:         ...
   5:         if( !this.isParameterAndReturnSpecRequired( this.operationName ) ) {
   6:             throw new JAXRPCException( org.act.soap.util.i18n.Message.getMessage( "ERR_Call_methodCallErr", "addParameter" ) );
   7:         }
   8:         ...
   9:         if( null == address ) {
  10:             throw new JAXRPCException( org.act.soap.util.i18n.Message.getMessage( "ERR_Stub_nullPoint" , "EndpointAddress" ) );
  11:         }

View Full Code Here

JAXRPCException

public JAXRPCException(Throwable cause)
JAXRPC exception with a cause.
Usages and Demos :

View More Examples of JAXRPCException(Throwable cause)
   1:         catch (Exception ex) {
   2:             throw new JAXRPCException(ex);
   3:         }
   4:     }
   5: }

View Full Code Here
   1:         catch (Exception ex) {
   2:             throw new JAXRPCException(ex);
   3:         }
   4:     }
   5: }

View Full Code Here
   1:       {
   2:          throw new JAXRPCException(e);
   3:       }
   4:    }
   5: }

View Full Code Here
   1:          log.error("Cannot add port", ex);
   2:          throw new JAXRPCException(ex);
   3:       }
   4: 
   5:       for (int i = 0; i < ports.size(); i++)

View Full Code Here
   1:         } catch (Exception e) {
   2:             throw new JAXRPCException(e);
   3:         }
   4: 
   5:         return true;

View Full Code Here

Method Details

getLinkedCause

public Throwable getLinkedCause()
Returns the linked cause.