001
014
015 package com.liferay.portal;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018
019
022 public class RemoteOptionsException extends PortalException {
023
024 public static final int REMOTE_ADDRESS = 1;
025
026 public static final int REMOTE_GROUP_ID = 3;
027
028 public static final int REMOTE_PATH_CONTEXT = 4;
029
030 public static final int REMOTE_PORT = 2;
031
032 public RemoteOptionsException(int type) {
033 _type = type;
034 }
035
036 public String getRemoteAddress() {
037 return _remoteAddress;
038 }
039
040 public long getRemoteGroupId() {
041 return _remoteGroupId;
042 }
043
044 public String getRemotePathContext() {
045 return _remotePathContext;
046 }
047
048 public int getRemotePort() {
049 return _remotePort;
050 }
051
052 public int getType() {
053 return _type;
054 }
055
056 public void setRemoteAddress(String remoteAddress) {
057 _remoteAddress = remoteAddress;
058 }
059
060 public void setRemoteGroupId(long remoteGroupId) {
061 _remoteGroupId = remoteGroupId;
062 }
063
064 public void setRemotePathContext(String remotePathContext) {
065 _remotePathContext = remotePathContext;
066 }
067
068 public void setRemotePort(int remotePort) {
069 _remotePort = remotePort;
070 }
071
072 private String _remoteAddress;
073 private long _remoteGroupId;
074 private String _remotePathContext;
075 private int _remotePort;
076 private int _type;
077
078 }