RemoteException.java :  » REST » alc-rest » org » allcolor » services » servlet » Java Open Source

Java Open Source » REST » alc rest 
alc rest » org » allcolor » services » servlet » RemoteException.java
package org.allcolor.services.servlet;

public class RemoteException extends RuntimeException {
  /**
   * 
   */
  private static final long serialVersionUID = -1366665985781787766L;
  private final int errorCode;

  public RemoteException(final String message, final int errorCode,
      final Throwable t) {
    super(message, t);
    this.errorCode = errorCode;
  }

  public int getErrorCode() {
    return this.errorCode;
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.