001 package railo.runtime.exp; 002 003 import railo.runtime.config.RemoteClient; 004 005 public class RemoteAccessException extends ApplicationException { 006 007 public RemoteAccessException(String message) { 008 super(message); 009 // TODO Auto-generated constructor stub 010 } 011 012 public RemoteAccessException(RemoteClient client, PageException pe) { 013 super(createMessage(client,pe)); 014 } 015 016 private static String createMessage(RemoteClient client, PageException pe) { 017 018 019 return "Recieved the exception [" + pe.getMessage() + "] while accessing the remote client ["+client.getUrl()+"]"; 020 } 021 022 }