org.eclipse.m2m.atl.service.core.exception
Class ServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.core.runtime.CoreException
              extended by org.eclipse.m2m.atl.service.core.exception.ServiceException
All Implemented Interfaces:
java.io.Serializable

public class ServiceException
extends org.eclipse.core.runtime.CoreException

See Also:
Serialized Form

Constructor Summary
ServiceException(int status, java.lang.Exception exception)
          Creates a new exception
ServiceException(int status, java.lang.String message)
          Creates a new exception
ServiceException(int status, java.lang.String message, java.lang.Exception exception)
          Creates a new exception
ServiceException(org.eclipse.core.runtime.IStatus status)
          Creates a new exception
 
Method Summary
 
Methods inherited from class org.eclipse.core.runtime.CoreException
getCause, getStatus, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceException

public ServiceException(org.eclipse.core.runtime.IStatus status)
Creates a new exception

Parameters:
status - the status

ServiceException

public ServiceException(int status,
                        java.lang.String message)
Creates a new exception

Parameters:
status - the status (IStatus.OK, IStatus.INFO, IStatus.WARNING, IStatus.ERROR, IStatus.CANCEL)

ServiceException

public ServiceException(int status,
                        java.lang.String message,
                        java.lang.Exception exception)
Creates a new exception

Parameters:
status - the status (IStatus.OK, IStatus.INFO, IStatus.WARNING, IStatus.ERROR, IStatus.CANCEL)

ServiceException

public ServiceException(int status,
                        java.lang.Exception exception)
Creates a new exception

Parameters:
status - the status (IStatus.OK, IStatus.INFO, IStatus.WARNING, IStatus.ERROR, IStatus.CANCEL)

Copyright 2007 IBM Corporation and others.
All Rights Reserved.