WICKET-4399
Remove IRequestCycleSettings#(s|g)etUnexpectedExceptionDisplay in favour of 
IExceptionSettings


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/46559c63
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/46559c63
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/46559c63

Branch: refs/heads/master
Commit: 46559c63fe1c7d5cd231aa4a2b4b47d67a9f4154
Parents: 1132994
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Wed Feb 8 17:23:31 2012 +0200
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Wed Feb 8 17:24:19 2012 +0200

----------------------------------------------------------------------
 .../wicket/settings/IRequestCycleSettings.java     |   13 ----------
 .../wicket/settings/def/RequestCycleSettings.java  |   19 ---------------
 2 files changed, 0 insertions(+), 32 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/46559c63/wicket-core/src/main/java/org/apache/wicket/settings/IRequestCycleSettings.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/settings/IRequestCycleSettings.java
 
b/wicket-core/src/main/java/org/apache/wicket/settings/IRequestCycleSettings.java
index dd81145..a269201 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/settings/IRequestCycleSettings.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/settings/IRequestCycleSettings.java
@@ -21,7 +21,6 @@ import java.util.List;
 import org.apache.wicket.Session;
 import org.apache.wicket.markup.html.pages.BrowserInfoPage;
 import org.apache.wicket.response.filter.IResponseFilter;
-import 
org.apache.wicket.settings.IExceptionSettings.UnexpectedExceptionDisplay;
 import org.apache.wicket.util.time.Duration;
 
 
@@ -197,13 +196,6 @@ public interface IRequestCycleSettings
        Duration getTimeout();
 
        /**
-        * @see 
org.apache.wicket.settings.IExceptionSettings#getUnexpectedExceptionDisplay()
-        * 
-        * @return UnexpectedExceptionDisplay
-        */
-       UnexpectedExceptionDisplay getUnexpectedExceptionDisplay();
-
-       /**
         * @param bufferResponse
         *            True if this application should buffer responses.
         */
@@ -286,9 +278,4 @@ public interface IRequestCycleSettings
         * @param timeout
         */
        void setTimeout(Duration timeout);
-
-       /**
-        * @param unexpectedExceptionDisplay
-        */
-       void setUnexpectedExceptionDisplay(final UnexpectedExceptionDisplay 
unexpectedExceptionDisplay);
 }

http://git-wip-us.apache.org/repos/asf/wicket/blob/46559c63/wicket-core/src/main/java/org/apache/wicket/settings/def/RequestCycleSettings.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/settings/def/RequestCycleSettings.java
 
b/wicket-core/src/main/java/org/apache/wicket/settings/def/RequestCycleSettings.java
index 92b99f1..5965f54 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/settings/def/RequestCycleSettings.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/settings/def/RequestCycleSettings.java
@@ -153,15 +153,6 @@ public class RequestCycleSettings implements 
IRequestCycleSettings
        }
 
        /**
-        * @see 
org.apache.wicket.settings.IRequestCycleSettings#getUnexpectedExceptionDisplay()
-        */
-       @Override
-       public IExceptionSettings.UnexpectedExceptionDisplay 
getUnexpectedExceptionDisplay()
-       {
-               return unexpectedExceptionDisplay;
-       }
-
-       /**
         * @see 
org.apache.wicket.settings.IRequestCycleSettings#setBufferResponse(boolean)
         */
        @Override
@@ -210,14 +201,4 @@ public class RequestCycleSettings implements 
IRequestCycleSettings
                }
                this.timeout = timeout;
        }
-
-       /**
-        * @see 
org.apache.wicket.settings.IRequestCycleSettings#setUnexpectedExceptionDisplay(org.apache.wicket.settings.IExceptionSettings.UnexpectedExceptionDisplay)
-        */
-       @Override
-       public void setUnexpectedExceptionDisplay(
-               final IExceptionSettings.UnexpectedExceptionDisplay 
unexpectedExceptionDisplay)
-       {
-               this.unexpectedExceptionDisplay = unexpectedExceptionDisplay;
-       }
 }

Reply via email to