forked from payara/Payara
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in PAYARA-372-jms-broker-issues-when-broker (pull request paya…
…ra#9) PAYARA-372 change JMS broker initialisation so that the broker won't boot if it receives a BindException because its specified port is in use.
- Loading branch information
Showing
4 changed files
with
76 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...re/src/main/java/com/sun/enterprise/connectors/jms/system/JmsInitialisationException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. | ||
Copyright (c) 2015 C2B2 Consulting Limited. All rights reserved. | ||
The contents of this file are subject to the terms of the Common Development | ||
and Distribution License("CDDL") (collectively, the "License"). You | ||
may not use this file except in compliance with the License. You can | ||
obtain a copy of the License at | ||
https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html | ||
or packager/legal/LICENSE.txt. See the License for the specific | ||
language governing permissions and limitations under the License. | ||
When distributing the software, include this License Header Notice in each | ||
file and include the License file at packager/legal/LICENSE.txt. | ||
*/ | ||
package com.sun.enterprise.connectors.jms.system; | ||
|
||
/** | ||
* Exception class thrown when there is a problem initialising the broker | ||
* @author steve | ||
*/ | ||
public class JmsInitialisationException extends Exception { | ||
private static final long serialVersionUID = -2763569052869563797L; | ||
|
||
public JmsInitialisationException() { | ||
} | ||
|
||
public JmsInitialisationException(String message) { | ||
super(message); | ||
} | ||
|
||
public JmsInitialisationException(Throwable cause) { | ||
super(cause); | ||
} | ||
|
||
public JmsInitialisationException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters